File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
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


Win a copy of Android Security Essentials Live Lessons this week in the Android forum!
JavaRanch » Java Forums » Java » Java in General
Bookmark "new logfile after 24h" Watch "new logfile after 24h" New topic
Author

new logfile after 24h

Stefan Gerber
Ranch Hand

Joined: Mar 08, 2008
Posts: 33
Hello
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?

thanks
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: new logfile after 24h
 
Similar Threads
Writing logs to a single file from Multiple Classes
log4j DailyRollingFileAppender
Log4J created two log files but should have only done one
Logging file
java logger