Skip to content

Commit

Permalink
logback.xml: Adding logging for the Spring Cloud Config client
Browse files Browse the repository at this point in the history
So that you see your application printing which Config Server it is
connecting to.

2017-04-13 23:46:14 [main] INFO
o.s.c.c.c.ConfigServicePropertySourceLocator - Fetching config from
server at: http://localhost:8888
  • Loading branch information
marcellodesales committed Apr 14, 2017
1 parent 7d64e41 commit 454d835
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions src/main/resources/logback.xml
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,11 @@
additivity="false">
<appender-ref ref="STDOUT" />
</logger>

<logger name="org.springframework.cloud.config.client" level="debug"
additivity="false">
<appender-ref ref="STDOUT" />
</logger>

<root level="error">
<appender-ref ref="STDOUT" />
Expand Down

0 comments on commit 454d835

Please sign in to comment.