Hi all,
I'm having an issue with the RollingFileAppender. I've set the rollover
size to 25MB, but sometimes, on rollover it renames the file to
logfile.log.1, but does not create logfile.log again - it continues
writing to logfile.log.1. I end up with missing log files because of
this. Is this a
Hi all,
Are the DEBUG and TRACE levels the same in log4j? My logger.trace
statement gets printed at the debug level - there are some events I want
to log at a lower level than debug. I checked Level.java and DEBUG and
TRACE both have the same int value = 7 in it. No luck with ALL either -
that
There seems to be an appender CompositeRollingAppender that was added to
a previous version and then removed due to maintenance issues.
http://mail-archives.apache.org/mod_mbox/jakarta-log4j-cvs/200203.mbox/%
[EMAIL PROTECTED]
Sowmya
-Original Message-
From: Shriraghavan, Sowmya
Sent
Hi all,
I set up the RollingFileAppender with version 1.3 with an xml config
file - It works great! But I prefer .properties files, so when I try
creating the .properties file, the log doesn't show up and I have no
clue why.
appender name=TEN
class=org.apache.log4j.rolling.RollingFileAppender
Hi all,
I need to log files based on size, but instead of rotating them like
RollingFileAppender does (myfile.1, myfile.2 etc), I have to just append
the current timestamp to the rolled file and that's it. So my rolled
over file should look like myfile.04-25-2006-14:20:39.log (where the
file
then rename the file the way you want.
Example:
1) Call super.roll(); -- Creates the standard file.
2) Call File.renameTo(); -- Renames the file from Step 1 to
your specific name.
Cheers,
Philip.
-Original Message-
From: Shriraghavan, Sowmya [mailto:[EMAIL PROTECTED]
Sent
implement a TriggerPolicy but I don't know how
you would change the name.
On 4/25/06, Shriraghavan, Sowmya [EMAIL PROTECTED] wrote:
I should have been more specific. I have an idea about what to do
about
extending RollingFileAppender. I was just checking out the docs for
1.3
alpha 8