users@glassfish.java.net

deleting rotated glassfish log files

From: <glassfish_at_javadesktop.org>
Date: Tue, 27 Nov 2007 10:04:22 PST

Is there a way to configure glassfish to either only keep a certain number of rotated log
files — or to delete log files after they reach a certain age?

I see that you can configure rotation based on file size and age, but the log file directory
still grows without bounds.

(On my platform, logging to the unix syslog facility is not an option, sadly. Looking for
other ideas.)

https://glassfish.dev.java.net/issues/show_bug.cgi?id=3874
[Message sent by forum member 'pohl' (pohl)]

http://forums.java.net/jive/thread.jspa?messageID=247392