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: Sat, 19 Oct 2013 11:12:15 +0530

Hello all,

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

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

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

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

 

Can anybody confirm if this is a bug ?

 

Thank You

Bhuvan