[logback-user] Messages from multiple senders interleaved on one line

Michael Olson molson at cs.caltech.edu
Thu Oct 1 01:24:49 CEST 2009


Hello all,

I'm new to logback, and I'm trying out a configuration that is, more or
less, a word-for-word transcription of an example configuration from the
documentation; you can view the configuration here:
http://logback.pastebin.com/m1a6f2875

I'm having problems where I'm getting interleaved messages on a single
line.  I don't believe this is expected behavior, and it certainly makes it
harder to understand what's going on.  I've tried searching the mailing list
and bug list to no avail.  Here's an example from one log file:
2009-09-30 15:45:31,649 [Thread-5]   INFO         CalaisSubmitter -
CalaisFeedSubmitter clean shutdown
2009-09-30 15:45:33,2302009-09-30 15:45:33,230 [ [Thread-15] INFO
PostItemSubmitter - Shutdown aborted queue operation
Thread-19]                           INFO       PostItemSubmitter - Shutdown
aborted queue operation
2009-09-30 15:45:33,231 [2009-09-30 15:45:33,231Thread-17] [ INFO
PostItemSubmitter - Shutdown aborted queue operation
2009-09-30 15:45:33,231 [2009-09-30 15:45:33,231Thread-17] [Thread-21]
INFO       PostItemSubmitter - Shutdown aborted queue operation
2009-09-30 15:45:34,230 [main]       INFO                Eventweb - All
stopped

and here's an example from another log file:
2009-09-30 15:47:10,061 [Thread-5]   INFO         CalaisSubmitter -
CalaisFeedSubmitter clean shutdown
2009-09-30 15:47:11,3782009-09-30 15:47:11,378 [ [2009-09-30 15:47:11,378
[Thread-15] INFO       PostItemSubmitter - Shutdown aborted queue operation
2009-09-30 15:47:11,3782009-09-30 15:47:11,378 [ [2009-09-30 15:47:11,378
[Thread-15]Thread-21]Thread-17] INFO       PostItemSubmitter - Shutdown
aborted queue operation
2009-09-30 15:47:11,3782009-09-30 15:47:11,378 [ [2009-09-30 15:47:11,378
[Thread-15]Thread-21] INFO       PostItemSubmitter - Shutdown aborted queue
operation
2009-09-30 15:47:11,378 [Thread-19]  INFO       PostItemSubmitter - Shutdown
aborted queue operation
2009-09-30 15:47:12,378 [main]       INFO                Eventweb - All
stopped

Can anyone tell me why I'm getting interleaved messages, and what I might be
able to do to prevent this from happening?

Thanks,
- Michael
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://qos.ch/pipermail/logback-user/attachments/20090930/e826780e/attachment-0001.htm>


More information about the Logback-user mailing list