Skip to content

Commit

Permalink
Merge pull request #1365 from guardian/revert-1352-aa-dry-logger-xml
Browse files Browse the repository at this point in the history
Revert "DRYing the logger xml."
  • Loading branch information
akash1810 committed Oct 14, 2015
2 parents 5bccaa6 + 2a165f2 commit d9dc961
Show file tree
Hide file tree
Showing 15 changed files with 85 additions and 34 deletions.
1 change: 0 additions & 1 deletion cropper/conf/logger-include.xml

This file was deleted.

13 changes: 12 additions & 1 deletion cropper/conf/logger.xml
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,17 @@

<contextName>cropper</contextName>

<include resource="logger-include.xml" />
<appender name="CONSOLE" class="ch.qos.logback.core.ConsoleAppender">
<encoder>
<pattern>%date [%thread] %-5level GUUID=%X{GUUID} %logger{36}:%L - %msg%n%xException{15}</pattern>
</encoder>
</appender>

<logger name="play" level="INFO" />
<logger name="application" level="DEBUG" />

<root level="DEBUG">
<appender-ref ref="CONSOLE"/>
</root>

</configuration>
1 change: 0 additions & 1 deletion image-loader/conf/logger-include.xml

This file was deleted.

14 changes: 13 additions & 1 deletion image-loader/conf/logger.xml
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,18 @@
</encoder>
</appender>

<include resource="logger-include.xml" />
<appender name="CONSOLE" class="ch.qos.logback.core.ConsoleAppender">
<encoder>
<pattern>%date [%thread] %-5level GUUID=%X{GUUID} %logger{36}:%L - %msg%n%xException{15}</pattern>
</encoder>
</appender>

<logger name="play" level="INFO" />
<logger name="application" level="DEBUG" />

<root level="ERROR">
<appender-ref ref="CONSOLE"/>
<appender-ref ref="LOGFILE"/>
</root>

</configuration>
1 change: 0 additions & 1 deletion kahuna/conf/logger-include.xml

This file was deleted.

13 changes: 12 additions & 1 deletion kahuna/conf/logger.xml
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,17 @@

<contextName>kahuna</contextName>

<include resource="logger-include.xml" />
<appender name="CONSOLE" class="ch.qos.logback.core.ConsoleAppender">
<encoder>
<pattern>%date [%thread] %-5level GUUID=%X{GUUID} %logger{36}:%L - %msg%n%xException{15}</pattern>
</encoder>
</appender>

<logger name="play" level="INFO" />
<logger name="application" level="DEBUG" />

<root level="DEBUG">
<appender-ref ref="CONSOLE"/>
</root>

</configuration>
20 changes: 0 additions & 20 deletions logger-include.xml

This file was deleted.

1 change: 0 additions & 1 deletion media-api/conf/logger-include.xml

This file was deleted.

13 changes: 12 additions & 1 deletion media-api/conf/logger.xml
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,17 @@

<contextName>media-api</contextName>

<include resource="logger-include.xml" />
<appender name="CONSOLE" class="ch.qos.logback.core.ConsoleAppender">
<encoder>
<pattern>%date [%thread] %-5level GUUID=%X{GUUID} %logger{36}:%L - %msg%n%xException{15}</pattern>
</encoder>
</appender>

<logger name="play" level="INFO" />
<logger name="application" level="DEBUG" />

<root level="DEBUG">
<appender-ref ref="CONSOLE"/>
</root>

</configuration>
1 change: 0 additions & 1 deletion metadata-editor/conf/logger-include.xml

This file was deleted.

13 changes: 12 additions & 1 deletion metadata-editor/conf/logger.xml
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,17 @@

<contextName>metadata-editor</contextName>

<include resource="logger-include.xml" />
<appender name="CONSOLE" class="ch.qos.logback.core.ConsoleAppender">
<encoder>
<pattern>%date [%thread] %-5level GUUID=%X{GUUID} %logger{36}:%L - %msg%n%xException{15}</pattern>
</encoder>
</appender>

<logger name="play" level="INFO" />
<logger name="application" level="DEBUG" />

<root level="DEBUG">
<appender-ref ref="CONSOLE"/>
</root>

</configuration>
1 change: 0 additions & 1 deletion thrall/conf/logger-include.xml

This file was deleted.

13 changes: 12 additions & 1 deletion thrall/conf/logger.xml
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,17 @@

<contextName>thrall</contextName>

<include resource="logger-include.xml" />
<appender name="CONSOLE" class="ch.qos.logback.core.ConsoleAppender">
<encoder>
<pattern>%date [%thread] %-5level GUUID=%X{GUUID} %logger{36}:%L - %msg%n%xException{15}</pattern>
</encoder>
</appender>

<logger name="play" level="INFO" />
<logger name="application" level="DEBUG" />

<root level="DEBUG">
<appender-ref ref="CONSOLE"/>
</root>

</configuration>
1 change: 0 additions & 1 deletion usage/conf/logger-include.xml

This file was deleted.

13 changes: 12 additions & 1 deletion usage/conf/logger.xml
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,17 @@

<contextName>usance</contextName>

<include resource="logger-include.xml" />
<appender name="CONSOLE" class="ch.qos.logback.core.ConsoleAppender">
<encoder>
<pattern>%date [%thread] %-5level GUUID=%X{GUUID} %logger{36}:%L - %msg%n%xException{15}</pattern>
</encoder>
</appender>

<logger name="play" level="INFO" />
<logger name="application" level="DEBUG" />

<root level="DEBUG">
<appender-ref ref="CONSOLE"/>
</root>

</configuration>

0 comments on commit d9dc961

Please sign in to comment.