Skip to content

Commit

Permalink
logback: always put the stubs for DEBUG
Browse files Browse the repository at this point in the history
But activate them only when we need them
  • Loading branch information
Corentin Chary committed Jun 20, 2017
1 parent fc88ae8 commit 6ae8b6a
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions templates/default/logback.xml.erb
Expand Up @@ -50,7 +50,6 @@
</encoder>
</appender>

<% if node['cassandra']['logback']['debug']['enable'] -%>
<!-- DEBUGLOG rolling file appender to debug.log (all levels) -->

<appender name="DEBUGLOG" class="ch.qos.logback.core.rolling.RollingFileAppender">
Expand All @@ -76,7 +75,6 @@
<includeCallerData>true</includeCallerData>
<appender-ref ref="DEBUGLOG" />
</appender>
<% end -%>

<% if node['cassandra']['logback']['stdout']['enable'] -%>
<appender name="STDOUT" class="ch.qos.logback.core.ConsoleAppender">
Expand Down

0 comments on commit 6ae8b6a

Please sign in to comment.