I'm not sure what you want but RollingFileAppender will make files
like what you want.
On Jan 27, 2008 10:52 PM, anoobthomas [EMAIL PROTECTED] wrote:
Currently I am using Daily Rolling File Appender to generate log files.
I want to rename my log file from ABC.log2008-1-27 to ABC.log number
On Jan 28, 2008, at 6:47 AM, James A. N. Stauffer wrote:
I'm not sure what you want but RollingFileAppender will make files
like what you want.
If you do need to write custom code, I would recommend writing a
custom RollingPolicy for the
org.apache.log4j.rolling.RollingFileAppender
Hi,
I am a newbie of Log4j. I wonder if anyone has an example or an utility of how
to write a bean to a file using Log4j. Thank you!
Be a better friend, newshound, and
know-it-all with Yahoo! Mobile.
On Jan 28, 2008, at 1:24 PM, Tim Nguyen wrote:
Hi,
I am a newbie of Log4j. I wonder if anyone has an example or an
utility of how to write a bean to a file using Log4j. Thank you!
Not quite sure what you are asking. You can pass any Object as the
message parameter. Unless you
There is also the rewriteappender in log4j 1.3 and the
ReflectionRewritePolicy that will allow you to write arbitrary objects
to the file (you don't have to specify which classes to render in the
config file).
http://logging.apache.org/log4j/companions/receivers/apidocs/org/apache/