[logback-user] Some strange logback behaviour
Ceki Gulcu
listid at qos.ch
Wed Aug 8 22:49:29 CEST 2007
Hi Nicholas,
Thank you for your encouraging words.
The whatever-1970-01-01.log bug is already known and has been fixed in the
version currently in SVN trunk. The fix will be included in the next version of
logback.
As for the other problem. could you please send your logback conf file?
Cheers,
Nicholas Clare wrote:
> Hi everyone,
>
> I've just switched to using logback for a project, that was using slf4j
> and jdk logging, but it's gotten a bit big for that. So far logback has
> been mostly great, except for a couple of small things. However, one
> major problem has recently come up, and I was hoping someone could help me.
>
> I'm using a few rolling file appenders, and everything works fine for a
> couple of days. However, after that, the current day's log seems to only
> keep the last line. Every time i 'more' the log, or something, it only
> has the most recent message, and if i run something like tail -f, it
> shows one line, and then never updates. The strangest part though, is
> that when it does eventually roll over, the backed up file (which seems
> to be called whatever-1970-01-01.log, but that's another issue :P )
> seems to be complete. But that doesn't really help when you're trying to
> debug an issue in a live, running system.
>
> Thanks for the great product again, I just hope we can sort this out, so
> I can keep using it.
> Nick
--
Ceki Gülcü
Logback: The reliable, generic, fast and flexible logging framework for Java.
http://logback.qos.ch
More information about the Logback-user
mailing list