Hello, amigos!
We are using a log4cxx 0.9.8 build and we have the following issue with a
DailyRollingFileAppender:
If the application that uses log4cxx is running when the date switch takes
place (in this case, when the day changes), the new generated log file contains
thousands of null characters mixed with the logged ones.. For each logged
character there is a null character next to it.
If the logging service doesn't pass through the moment of changing the period,
the log files are clean.
We've noticed this behaviour recently, although we've been using this logging
service and this type of appender for almost a year.
We cannot trace exactly the moment and the changes in usage (if there are any,
because consciously we do not really aknowledge any..).
After a while spent searching for this behaviour on the net (mail lists, logs,
etc..) I didn't come accross other people's similar experiences. So, I believe
there may be something we miss in this picture.
There is only one place I've met something similar - it is the How to reset
your log files
section in the Apache HOWTO Documentation for HTTP Server Version 1.3.
This subject seems pretty obsolete, but we would appreciate any advice or
direction to investigate some more..
Thanks and have a great day you all, muchachos!
Sorin
___________________________________________________________
Want ideas for reducing your carbon footprint? Visit Yahoo! For Good
http://uk.promotions.yahoo.com/forgood/environment.html