my dog learned polymorphism
The moose likes Java in General and the fly likes new logfile after 24h Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Java in General
Bookmark "new logfile after 24h" Watch "new logfile after 24h" New topic

new logfile after 24h

Stefan Gerber
Ranch Hand

Joined: Mar 08, 2008
Posts: 33
I have a service that can run several days. I use the java logger to log some information. I have configured that the logger
should create each day a new log file. Now i have the problem that if the jvm (logger) is not initialized again each day
the logger logs all information in the same file. Is there a way that the logger noticed that a new day has started?

I agree. Here's the link:
subject: new logfile after 24h
It's not a secret anymore!