Skip to content

Help on format #208

Answered by sevdokimov
TerDale asked this question in Q&A
Discussion options

You must be logged in to vote

The right format is pattern: "%date{yyyy-MM-dd'T'HH:mm:ss:SSSX} %-5level %thread %logger{35}:%line %msg%n".

'T' separator can be specified using 'T'. Your pattern has . separator between seconds and milliseconds, but the log has :. Also you didn't specified timezone (X).
There is a line number after the class name, so I added :%line after %logger{35}

Replies: 2 comments

Comment options

You must be logged in to vote
0 replies
Answer selected by TerDale
Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants