Multi thread logging for Sift appender

Hi all, I am using logback in a webapplication and logs work fine. However i also have another timer task started on application start up. logs from this timer task are getting displayed correctly on console using ConsoleAppender, however they do not appear in my rolling file sift appender (other logs from my webapplication are logged fine). Can anyone suggest what could be the problem? -- Happy Coding, Sumit

Hi Sumit, I have multiple threads writing to the same sifting appender and it works fine. I guess that the thread you've created is not setting some MDC value that is used by the sifting appender? Without seeing your config and code it's hard to say more than that. David -- View this message in context: http://logback.10977.n7.nabble.com/Multi-thread-logging-for-Sift-appender-tp... Sent from the Users mailing list archive at Nabble.com.
participants (2)
-
diroussel
-
Sumit Anvekar