
There's a FAQ to do this:
How do I configure GlassFish to delete rotated log files?
Step 1: Login to Admin Console and navigate to Configuration -> System Properties

Step 2: Add in a new property com.sun.enterprise.server.logging.max_history_files

Step 3: Save and restart Glassfish

If the above does not work, set it via the java options:

No comments:
Post a Comment