Details
-
Bug
-
Resolution: Unresolved
-
Minor
-
None
-
0.6
-
GlassFish 3.0.1
Description
In AuditorFactory.java in method autoConfig, the autoConfigFileByProperty should not be prefixed with pathPrefix when creating URL.
For example, if the system property is set as:
-Dlogback.audit.autoconfig.file=file:///${com.sun.aas.instanceRoot}/config/logback-audit.xml
and client application name is set as appname then URL will be set to:
appname/file:///${com.sun.aas.instanceRoot}/config/logback-audit.xml
This bug results in configs only being set via AUTOCONFIG_FILE which complicates multi module projects resulting in multiple config files instead of just using one at the domain level.