aspose file tools*
The moose likes Other JSE/JEE APIs and the fly likes Java Logging: File not being 'rotated' Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Other JSE/JEE APIs
Bookmark "Java Logging: File not being Watch "Java Logging: File not being New topic
Author

Java Logging: File not being 'rotated'

Neeraj Dheer
Ranch Hand

Joined: Mar 30, 2005
Posts: 225
Hey All!!

Facing trouble configuring java logging. Following is the logging config file:



Whenever the file size reaches the maximum specified limit, ie, 50k, an Exception is thrown and neither is a new file being created, nor are any more logs written.

The Exception thrown is:


From the Exception I assume the logger cant find the file, meaning the path to the log file becomes weird. If this is the case, why does it work the first time??
 
It is sorta covered in the JavaRanch Style Guide.
 
subject: Java Logging: File not being 'rotated'