File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes Java in General and the fly likes issue with java.util.logging.FileHandler limit Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of EJB 3 in Action this week in the EJB and other Java EE Technologies forum!
JavaRanch » Java Forums » Java » Java in General
Bookmark "issue with java.util.logging.FileHandler limit" Watch "issue with java.util.logging.FileHandler limit" New topic

issue with java.util.logging.FileHandler limit

s ravi chandran
Ranch Hand

Joined: Dec 20, 2010
Posts: 149
i am having some trouble in java.util.logging.FileHandler limit parameter. what i want is to rotate the log file after 10mb of data has been logged.

this is what i am trying :

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?
I agree. Here's the link:
subject: issue with java.util.logging.FileHandler limit
Similar Threads
NX: logging with file handler
Problem with java.util.logging - writing to multiple log files
Log events to a file
NX: Notes on a design that passed 389/400
How could I write logs (using java.util.logging) to different file based on differet package?