The only think that I notice different from my config is that you have
a dot at the end of the filename that probably isn't needed. You
could run with -Dlog4j.debug and then system output may have more
info. Here is a sample that I use:
On 2/2/07, Todd Nine <[EMAIL P
I would only expect it to roll if it logs something both before and
after midnight without being restarted. But I don't know if it is
smart enough to handle other situations.
On 2/2/07, Todd Nine <[EMAIL PROTECTED]> wrote:
Thanks for the reply, so are you saying that log4j will only roll the lo
Sorry, hit send prematurely. I have this log4j.xml running on our
production Tomcat server, and the logs don't roll at midnight. Am I missing
some configuration parameter? According to the javadocs, I thought I had
supplied all of the required parameters.
Thanks,
Todd
On 2/1/07, James Stauffe
Thanks for the reply, so are you saying that log4j will only roll the log if
its running at exactly Midnight?
On 2/1/07, James Stauffer <[EMAIL PROTECTED]> wrote:
It may only roll if it isn't stopped. In order for your test to work
log4j would have to look in the log file to see when the last
It may only roll if it isn't stopped. In order for your test to work
log4j would have to look in the log file to see when the last log was
written or check the modified date of the log file.
On 2/1/07, Todd Nine <[EMAIL PROTECTED]> wrote:
Hi all,
I'm having some trouble with DailyRollingFileA
Hi all,
I'm having some trouble with DailyRollingFileAppender. I'm using log4j
1.2.14, and I'm trying to get the logs to roll at midnight. I perform the
following steps to test log rolling, and they don't appear to be creating
the new logs correct.
1. I start Tomcat, perform some requests t