Support Questions

Find answers, ask questions, and share your expertise
Announcements
Check out our newest addition to the community, the Cloudera Data Analytics (CDA) group hub.

CSD role log

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

@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.
Take a Tour of the Community
Don't have an account?
Your experience may be limited. Sign in to explore more.