Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Throw exception if configuration file has unexpected extension #38

Merged
merged 1 commit into from
Jan 21, 2014

Conversation

halvards
Copy link
Contributor

Hi,

We recently had an issue where our Logback XML configuration file (specified via a system property) didn't have the extension ".xml". This didn't work, but we didn't get any feedback on it (other than no entries in our log file).

This change (with included unit tests) makes logback-classic throw an exception when provided with a file without the appropriate extension.

Sincerely,
Halvard

@halvards
Copy link
Contributor Author

Updated code style as requested

tony19 pushed a commit that referenced this pull request Jan 21, 2014
Throw exception for unexpected file extension for config
@tony19 tony19 merged commit ac09805 into qos-ch:master Jan 21, 2014
tony19 added a commit that referenced this pull request Jan 21, 2014
Add note for pull request #38 -- throw exception for unknown config
file extensions.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants