tomcat-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Craig R. McClanahan" <>
Subject Re: Rollover for each day ? Is this possible ??
Date Fri, 19 Jan 2001 17:47:06 GMT
Anders Kristensen wrote:

> [snip]
> Also, I think that when using rolling log files one would usually like
> to roll over on boundaries and not just with a certain periodicity [if
> that's even a word]. For example, one might want to roll over daily at
> midnight, rather than just daily at the time the server happened to be
> restarted at last.

Tomcat 4.0 has logic in its current loggers (not yet using log4j) to roll over on
the first logged message after midnight each day, as Anders described.  This is
important in long-running server applications, so you don't have to restart them
simply to switch log files.

> Anders

Craig McClanahan

View raw message