We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent db8ebef commit ec8f6caCopy full SHA for ec8f6ca
1 file changed
jooby/src/main/java/org/jooby/Jooby.java
@@ -3198,7 +3198,7 @@ static String logback(final Config conf) {
3198
logback = conf.getString("logback.configurationFile");
3199
} else {
3200
String env = conf.hasPath("application.env") ? conf.getString("application.env") : null;
3201
- URL cpconf = Thread.currentThread().getContextClassLoader().getResource("logback." + env + ".xml");
+ URL cpconf = Jooby.class.getResource("logback." + env + ".xml");
3202
ImmutableList.Builder<File> files = ImmutableList.builder();
3203
File userdir = new File(System.getProperty("user.dir"));
3204
File confdir = new File(userdir, "conf");
0 commit comments