Re: Question regarding the technical details of a log rollover

2014-05-22 Thread Lucas Vickers
Thanks for the response and Idea. I opted for using a rollover that includes 12 in the afternoon '.'-MM-dd-a and I was able to confirm it did in fact roll over when I logged an hour past noon (1pm). More than that, we'll see! Best, Lucas On Wed, May 21, 2014 at 3:33 PM, Thorsten Schöning

Re: Question regarding the technical details of a log rollover

2014-05-21 Thread Thorsten Schöning
Guten Tag Lucas Vickers, am Mittwoch, 21. Mai 2014 um 19:56 schrieben Sie: > I'm pretty sure the answer is that it must be actively logging, and > that does in fact make sense since I doubt you are trying to > actively parse log files. No we don't, but the more interesting question is if the app

Re: Question regarding the technical details of a log rollover

2014-05-21 Thread Lucas Vickers
I'm pretty sure the answer is that it must be actively logging, and that does in fact make sense since I doubt you are trying to actively parse log files. So I guess the question is how do I set the daily rollover to happen at a certain hour, rather than at midnight? Thanks On Tue, May 20, 2014

Question regarding the technical details of a log rollover

2014-05-20 Thread Lucas Vickers
Hello, I'm using log4j.appender.rotating=org.apache.log4j.DailyRollingFileAppender on three machines, all set to rotate the log at midnight. Two of the machines (Windows) restart at 4am daily, and they are rotating the logs without issue. One of the machines (OS X) is set to shut down at 10pm and