File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Java Logging: File not being 'rotated'

Neeraj Dheer
Ranch Hand
Posts: 225
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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.
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic