Try setting this system property:
com.sun.enterprise.server.logging.max_history_files
which specifies the maximum number of access log files (starting with the most recent ones) to keep.
GlassFish has inherited this system property from a patch developed for a customer. Preferably, this would have been defined as an <access-log> property in domain.xml, however, the <access-log> element currently does not support and <property> subelements, as per the DTD that governs the domain.xml.
Jan
[Message sent by forum member 'jluehe' (jluehe)]
http://forums.java.net/jive/thread.jspa?messageID=247473