parent
c57588ac09
commit
46470934d7
|
@ -1,5 +1,5 @@
|
|||
/*
|
||||
* Copyright 2012-2015 the original author or authors.
|
||||
* Copyright 2012-2016 the original author or authors.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
|
@ -107,7 +107,7 @@ public class LogbackLoggingSystem extends Slf4JLoggingSystem {
|
|||
if (StringUtils.hasText(System.getProperty(CONFIGURATION_FILE_PROPERTY))) {
|
||||
getLogger(LogbackLoggingSystem.class.getName()).warn(
|
||||
"Ignoring '" + CONFIGURATION_FILE_PROPERTY + "' system property. "
|
||||
+ "Please use 'logging.path' instead.");
|
||||
+ "Please use 'logging.config' instead.");
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
/*
|
||||
* Copyright 2012-2015 the original author or authors.
|
||||
* Copyright 2012-2016 the original author or authors.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
|
@ -149,7 +149,7 @@ public class LogbackLoggingSystemTests extends AbstractLoggingSystemTests {
|
|||
this.loggingSystem.initialize(this.initializationContext, null, null);
|
||||
String output = this.output.toString().trim();
|
||||
assertTrue("Wrong output:\n" + output, output.contains("Ignoring "
|
||||
+ "'logback.configurationFile' system property. Please use 'logging.path' instead."));
|
||||
+ "'logback.configurationFile' system property. Please use 'logging.config' instead."));
|
||||
}
|
||||
finally {
|
||||
System.clearProperty("logback.configurationFile");
|
||||
|
|
Loading…
Reference in New Issue