aspose file tools
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 OCA Java SE 8 Programmer I Study Guide 1Z0-808 this week in the OCAJP 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: 256

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?
With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime.
subject: issue with java.util.logging.FileHandler limit