Forums Register Login

new logfile after 24h

+Pie Number of slices to send: Send
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
Let's get him boys! We'll make him read this tiny ad!
a bit of art, as a gift, that will fit in a stocking
https://gardener-gift.com


reply
reply
This thread has been viewed 728 times.
Similar Threads
Logging file
Log4J created two log files but should have only done one
java logger
log4j DailyRollingFileAppender
Writing logs to a single file from Multiple Classes
More...

All times above are in ranch (not your local) time.
The current ranch time is
Mar 28, 2024 03:26:54.