File tree Expand file tree Collapse file tree 1 file changed +3
-2
lines changed
spring-boot/src/test/java/org/springframework/boot/logging/logback Expand file tree Collapse file tree 1 file changed +3
-2
lines changed Original file line number Diff line number Diff line change 1
1
/*
2
- * Copyright 2012-2018 the original author or authors.
2
+ * Copyright 2012-2019 the original author or authors.
3
3
*
4
4
* Licensed under the Apache License, Version 2.0 (the "License");
5
5
* you may not use this file except in compliance with the License.
@@ -128,8 +128,9 @@ public void withFile() throws Exception {
128
128
}
129
129
130
130
@ Test
131
- public void testBasicConfigLocation () throws Exception {
131
+ public void defaultConfigConfiguresAConsoleAppender () throws Exception {
132
132
this .loggingSystem .beforeInitialize ();
133
+ this .loggingSystem .initialize (this .initializationContext , null , null );
133
134
ILoggerFactory factory = StaticLoggerBinder .getSingleton ().getLoggerFactory ();
134
135
LoggerContext context = (LoggerContext ) factory ;
135
136
Logger root = context .getLogger (org .slf4j .Logger .ROOT_LOGGER_NAME );
You can’t perform that action at this time.
0 commit comments