Hi,

I have an app doing traffic records using log4j.

I need daily logs, so I configured a DailyRollingAppender for said records.

However, the log doesn't rotate at midnight, it rotates when it
receives the first message after midnight has passed. Due to some
batch jobs processing the logs run shortly after midnight, I need the
logs to roll at 00:00:00, give or take a few minutes.

Is there a way to configure the DailyRollingAppender for that? I
really don't want to program a log event getting sent to the Logger at
midnight since that would mean creating a bogus record that will
distort the actual logs.

Thanks in advance.

--
Javier González Nicolini

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to