Question
Logger names are truncated to 30 characters
Logger names are truncated to 30 characters
Example : DEBUG logger enabled for "Rule_Obj_Activity.ABigNaaaaaaaaame.ORG_DIV_FW_Work.Action" displays as
"2018-06-15 11:58:07,033 [fault (self-tuning)'] [TABTHREAD0] [ ] [ Ruleset:04.03.01] (aaaaame.ORG_DIV_FW_Work.Action) DEBUG divuat.abc.abc|xx.xx.xx.xx userName01 - Running step 3_circum0"
Is there a DSS setting which can be created/modified to display full name of logger in PEGARule log?
***Edited by Moderator Marissa to update platform capability tags***
Hi,
I have not tried this but this happens because of the setting in prlog4j2.xml
Below is our current setting, you can tweak this and check if it works for you or not
<PatternLayout>
<Pattern>%d [%20.20t] [%10.10X{pegathread}] [%20.20X{tenantid}] [%20.20X{app}] (%30.30c{3}) %-5p %X{stack} %X{userid} - %m%n</Pattern>
</PatternLayout>
<Filters>
I think the highlighted part need little modification
You might need to adjust this, but adjusting here would adjust for all the logs printing, so it is technically stating what kind of pattern you want.
https://logging.apache.org/log4j/2.x/manual/configuration.html
https://community.pega.com/knowledgebase/articles/log-customization-prloggingxml-file
Might want to check on log4j2 syntax.
Thank You