Tamás Györgyey created LOGBACK-1467:
---------------------------------------
Summary: LogbackValve fails to find config with absolute path
outside of tomcat home
Key: LOGBACK-1467
URL: https://jira.qos.ch/browse/LOGBACK-1467
Project: logback
Issue Type: Bug
Components: logback-access
Affects Versions: 1.2.3
Environment: linux, tomcat 9, java 11
Reporter: Tamás Györgyey
Assignee: Logback dev list
Priority: Trivial
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
(v7.3.1#73012)
_______________________________________________
logback-dev mailing list
[email protected]
http://mailman.qos.ch/mailman/listinfo/logback-dev