Support Questions

Find answers, ask questions, and share your expertise

CSD role log

avatar
Explorer

The logging tag in *. sdl specifies the role

However, it cannot be displayed in the log details

Finally, I found that the log file content must follow the format of ‘%d{yyyy-MM-dd HH:mm:ss,SSS} %p %c{2}: %m%n’

 

why? 

 

How to customize this format

1 REPLY 1

avatar
Master Guru

@exploer The role logs needs to be in given format because at every start of service CM creates a runtime process directory as well for the Role logs it has rotation for logs after a given period of time/size. So the mm-dd-yy after logs makes it convenient and hard coded. 


Cheers!
Was your question answered? Make sure to mark the answer as the accepted solution.
If you find a reply useful, say thanks by clicking on the thumbs up button.