[logback-dev] [JIRA] (LOGBACK-1467) LogbackValve fails to find config with absolute path outside of tomcat home
noreply-jira at qos.ch
Fri May 31 10:30:00 CEST 2019
Tamás Györgyey created LOGBACK-1467:
Summary: LogbackValve fails to find config with absolute path outside of tomcat home
Issue Type: Bug
Affects Versions: 1.2.3
Environment: linux, tomcat 9, java 11
Reporter: Tamás Györgyey
Assignee: Logback dev list
When a filename property is specified, LogbackValve searches for the config by prepending catalina.base and catalina.home to the path, then looks for it as a resource. Neither of those manages to find a file referenced with an absolute path (e.g. /tmp/logback-access.xml).
A simple workaround is to create a symlink from the default location to the external file, but this shouldn't be necessary. Specifying a file location outside tomcat home is convenient in certain situations and should be supported.
This message was sent by Atlassian JIRA
More information about the logback-dev