Skip to content
Snippets Groups Projects
Commit 48b95690 authored by srosse's avatar srosse
Browse files

no-jira: better catch for other application server than tomcat

parent 28e19d7c
No related branches found
No related tags found
No related merge requests found
......@@ -170,9 +170,9 @@ public class ThreadLocalLogLevelManager {
return repository;
}
}, guard);
} catch (IllegalArgumentException re) {
} catch (IllegalArgumentException | SecurityException re) {
// thrown by LogManager.setRepositorySelector
Logger.getLogger(ThreadLocalLogLevelManager.class).error("Could not install ThreadLocalLogLevelManager", re);
Logger.getLogger(ThreadLocalLogLevelManager.class).error("Could not install ThreadLocalLogLevelManager");
}
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment