Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
S
spring-cloud-netflix
Project
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
openSource
spring-cloud-netflix
Commits
91d288d7
Commit
91d288d7
authored
Jul 03, 2015
by
Dave Syer
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Update to Spring Boot 1.3, stage I (make it compile)
parent
d046791b
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
5 additions
and
1 deletion
+5
-1
Log4JLoggingSystemTests.java
.../cloud/netflix/eureka/server/Log4JLoggingSystemTests.java
+4
-1
pom.xml
spring-cloud-netflix-turbine-amqp/pom.xml
+1
-0
No files found.
spring-cloud-netflix-eureka-server/src/test/java/org/springframework/cloud/netflix/eureka/server/Log4JLoggingSystemTests.java
View file @
91d288d7
...
...
@@ -24,8 +24,10 @@ import org.junit.Ignore;
import
org.junit.Rule
;
import
org.junit.Test
;
import
org.springframework.boot.logging.LogLevel
;
import
org.springframework.boot.logging.LoggingInitializationContext
;
import
org.springframework.boot.logging.log4j.Log4JLoggingSystem
;
import
org.springframework.boot.test.OutputCapture
;
import
org.springframework.core.env.StandardEnvironment
;
import
org.springframework.core.io.ClassPathResource
;
import
org.springframework.util.StringUtils
;
...
...
@@ -61,7 +63,8 @@ public class Log4JLoggingSystemTests {
@Ignore
(
"gh-48"
)
public
void
setLevel
()
throws
Exception
{
this
.
loggingSystem
.
beforeInitialize
();
this
.
loggingSystem
.
initialize
(
null
,
null
);
this
.
loggingSystem
.
initialize
(
new
LoggingInitializationContext
(
new
StandardEnvironment
()),
null
,
null
);
this
.
logger
.
debug
(
"Hello"
);
this
.
loggingSystem
.
setLogLevel
(
"org.springframework.cloud"
,
LogLevel
.
DEBUG
);
this
.
logger
.
debug
(
"Hello"
);
...
...
spring-cloud-netflix-turbine-amqp/pom.xml
View file @
91d288d7
...
...
@@ -84,6 +84,7 @@
<dependency>
<groupId>
org.projectlombok
</groupId>
<artifactId>
lombok
</artifactId>
<!-- Only needed at compile time -->
<scope>
compile
</scope>
<optional>
true
</optional>
</dependency>
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment