![]() |
|
|
|
|
Issue Type:
|
Bug
|
|
Affects Versions:
|
1.1.2 |
|
Assignee:
|
Logback dev list
|
|
Components:
|
logback-classic |
|
Created:
|
20/Sep/14 2:08 AM
|
|
Description:
|
Even though logback.xml gets correctly loaded on startup and scheduled for reloading, changes to the file don't get detected and configuration never gets refreshed.
Steps to reproduce:
- download a clean Tomcat bundle (to make sure there are no interferences)
- clone https://github.com/kryger/logback-war-configuration-scan-repro
- build with mvn package
- copy the built demo-0.0.1-SNAPSHOT.war file to tomcat/webapps/
- start Tomcat up (tomcat/bin/startup.sh)
- watch tomcat/logs/catalina.out
- navigate to http://localhost:8080/demo/
00:51:16,860 |-INFO in ch.qos.logback.classic.LoggerContext[default] - Found resource [logback.xml] at file:/home/kryger/Programy/apache/apache-tomcat-8.0.12/webapps/demo/WEB-INF/classes/logback.xml
00:51:16,926 |-INFO in ch.qos.logback.classic.joran.action.ConfigurationAction - Setting ReconfigureOnChangeFilter scanning period to 2 seconds
00:51:16,926 |-INFO in ReconfigureOnChangeFilter
Unknown macro: {invocationCounter=0}
- Will scan for changes in [[/home/kryger/Programy/apache/apache-tomcat-8.0.12/webapps/demo/WEB-INF/classes/logback.xml]] every 2 seconds.
00:51:16,926 |-INFO in ch.qos.logback.classic.joran.action.ConfigurationAction - Adding ReconfigureOnChangeFilter as a turbo filter
(...)
No matter how long I wait and how many log events happen (i.e. reloading the page) the /webapps/demo/WEB-INF/classes/logback.xml file doesn't get reloaded.
|
|
Environment:
|
Ubuntu, Tomcat 8.0.12, Tomcat 7.0.39
|
|
Project:
|
logback
|
|
Priority:
|
Major
|
|
Reporter:
|
Lukasz Kryger
|
|
|
|
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira
|
_______________________________________________
logback-dev mailing list
[email protected]
http://mailman.qos.ch/mailman/listinfo/logback-dev