|
Landry Breuil created an issue |
Issue Type: |
|
---|---|
Assignee: |
Unassigned |
Components: |
Main |
Created: |
25/Sep/15 11:50 AM |
Priority: |
|
Reporter: |
|
Original Estimate: |
5 minutes |
Remaining Estimate: |
5 minutes |
In https://github.com/geoserver/geoserver/blob/master/src/main/src/main/java/org/geoserver/logging/LoggingUtils.java#L81 the code enforces the use of the RollingFileAppender when logging, while one might want to use a DailyRollingFileAppender. It is still possible but you have to specify the File property directly in the .properties file instead of relying on the one set in logging.xml - which is a bit annoying since some warnings are spewed in the log.
It would be nice to allow DailyRollingFileAppender to be used (and still rely on the globally set logfile path) - probably by changing the check for being instanceof org.apache.log4j.FileAppender which should match both RollingFileAppender and DailyRollingFileAppender.
|
This message was sent by Atlassian JIRA (v7.0.0-OD-06-002#70102-sha1:82bb17d) |
|