users@glassfish.java.net

Re: is there a way to specify max number of log files for ...

From: Jan Luehe <Jan.Luehe_at_Sun.COM>
Date: Thu, 24 Sep 2009 18:13:11 -0700

On 09/24/09 15:50, glassfish_at_javadesktop.org wrote:
> roll over. Basically i am using some third party code and which does lot of system.out.println() and also logger.info which fills up the logs pretty quickly. So to overcome disk usage problem is there a way to specify the maximum amount of space or files that the server logs can be so that any more logging deletes previous logs??
>

You can limit the number of rotated (access) log files via the
"com.sun.enterprise.server.logging.max_history_files"
JVM property.

Jan

> thanks in advance,
> [Message sent by forum member 'eligetiv' (eligati_999_at_yahoo.com)]
>
> http://forums.java.net/jive/thread.jspa?messageID=365653
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe_at_glassfish.dev.java.net
> For additional commands, e-mail: users-help_at_glassfish.dev.java.net
>
>