0

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

Bergi
  • 630,263
  • 148
  • 957
  • 1,375
alicjasalamon
  • 4,171
  • 15
  • 41
  • 65

1 Answers1

2

Try this pattern instead

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

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

gresdiplitude
  • 1,665
  • 1
  • 15
  • 27