![]() |
|
|
|
|
Issue Type:
|
Bug
|
|
Affects Versions:
|
1.0.6 |
|
Assignee:
|
Logback dev list
|
|
Components:
|
logback-classic |
|
Created:
|
23/Jul/12 7:38 PM
|
|
Description:
|
Currently, if logback.configurationFile is set to a filename which does not end in 'xml' or 'groovy', the logging system will fail to initialize, but will not emit any errors indicating the problem. Even with logback.debug enabled, the system is completely silent.
This is due to the absence of a catch-all 'else' in:
* ch.qos.logback.classic.util.ContextInitializer.configureByResource(...)
* ch.qos.logback.classic.turbo.ReconfigureOnChangeFilter.ReconfiguringThread.run()
At the very least, it would be easy to add an 'else' which logs an error about the filename.
On the other hand, a bit more involved solution would be to fallback to inspecting the contents of the file for something recognizable (like <?xml....)
|
|
Project:
|
logback
|
|
Priority:
|
Trivial
|
|
Reporter:
|
Ryan Scheidter
|
|
|
|
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