alicjasalamon
alicjasalamon

Reputation: 4291

Why ChainSaw cannot display logger name?

I am using the latest ChainSaw developer snapshot

I'm trying get logs from a file with logs in pattern :

[%d] [%t] [%c] [%m]%n

and I don't know why it doesn't work - whole log is read as %m. When I use pattern without %c every log is displayed correctly.

enter image description here

Upvotes: 0

Views: 93

Answers (1)

gresdiplitude
gresdiplitude

Reputation: 1685

Try this pattern instead

[TIMESTAMP] [THREAD] [LOGGER] [MESSAGE]

(I'm assuming your logs also have those "[]", otherwise remove them)

Upvotes: 2

Related Questions