Register / Login
File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
Java in General
issue with java.util.logging.FileHandler limit
s ravi chandran
posted 3 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
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?