users@glassfish.java.net

maxHistoryFile" is not honored if "GFFileHandler.file" does not point to default location in logging.properties

From: Bhuvan Gupta <bhuvangu_at_gmail.com>
Date: Tue, 15 Oct 2013 10:51:31 +0530

Hello,

In "logging.properties" under "domains/mydomain/config"
If i change
com.sun.enterprise.server.logging.GFFileHandler.file=/TO/MY/LOCATION/file.log

then i can see log getting created, but
"com.sun.enterprise.server.logging.GFFileHandler.maxHistoryFiles=1"
is not honored. (log continue to grow).

If i change the
com.sun.enterprise.server.logging.GFFileHandler.file=/GF_LOCATION/domains/mydomain/logs/server.log
Then maxHistoryFiles works fine.

https://java.net/jira/browse/GLASSFISH-20849

Can anybody confirm if this is a bug or not ?

If not what i might be missing.
Thank You
Bhuvan Gupta