Register / Login
Win a copy of
Kotlin in Action
this week in the
this forum made possible by our volunteer staff, including ...
Stephan van Hulst
Java in General
issue with java.util.logging.FileHandler limit
s ravi chandran
posted 5 years ago
i am having some trouble in
limit parameter. what i want is to rotate the log file after 10mb of data has been logged.
this is what i am trying :
handler = new FileHandler("mylog.log", 1048576, 1, true);
but i don't know why, but log files created are having max size of 11kb, and then it keeps decreasing ; 10kb, 9kb ....
what is going wrong here?
Did you see how Paul
cut 87% off of his electric heat bill with 82 watts of micro heaters
Boost this thread!
NX: logging with file handler
NX: Notes on a design that passed 389/400
Problem with java.util.logging - writing to multiple log files
Log events to a file
How could I write logs (using java.util.logging) to different file based on differet package?