Skip to content

Commit

Permalink
(kaazing#709) Finished adding commented out MaxBackupIndex parameter …
Browse files Browse the repository at this point in the history
…to the appenders in the OOTB log4j-config.xml. Removed a temporary line added to WsxAcceptorLoggingIT which was causing build failures.
  • Loading branch information
Chris Barrow committed Oct 13, 2016
1 parent 1d9471f commit 5128df1
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
4 changes: 4 additions & 0 deletions distribution/src/main/gateway/conf/log4j-config.xml
Expand Up @@ -36,6 +36,8 @@
<param name="Append" value="true"/>
<!-- max file size default is 10MB -->
<!--param name="MaxFileSize" value="100000"/-->
<!-- max backup index default is 1. Increase to preserve more logs, for example -->
<!--param name="MaxBackupIndex" value="10"/-->

<layout class="org.apache.log4j.PatternLayout">
<param name="ConversionPattern" value="%d %-5p %m%n"/>
Expand All @@ -47,6 +49,8 @@
<param name="Append" value="true"/>
<!-- max file size default is 10MB -->
<!--param name="MaxFileSize" value="100000"/-->
<!-- max backup index default is 1. Increase to preserve more logs, for example -->
<!--param name="MaxBackupIndex" value="10"/-->

<layout class="org.apache.log4j.PatternLayout">
<param name="ConversionPattern" value="%d [%t] %-5p %m%n"/>
Expand Down
Expand Up @@ -129,7 +129,6 @@ public void shouldLogOpenAndInactivityTimeoutClose() throws Exception {
"wsn#.*CLOSED"
}));
forbiddenPatterns = null;
throw new Exception("GET LOG");
}
}

0 comments on commit 5128df1

Please sign in to comment.