ignite-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From akuznet...@apache.org
Subject [43/50] [abbrv] incubator-ignite git commit: #ignite-343: change Log4JFileAppender to Log4jRollingFileAppender.
Date Fri, 27 Feb 2015 18:54:28 GMT
#ignite-343: change Log4JFileAppender to Log4jRollingFileAppender.


Project: http://git-wip-us.apache.org/repos/asf/incubator-ignite/repo
Commit: http://git-wip-us.apache.org/repos/asf/incubator-ignite/commit/e1c0945d
Tree: http://git-wip-us.apache.org/repos/asf/incubator-ignite/tree/e1c0945d
Diff: http://git-wip-us.apache.org/repos/asf/incubator-ignite/diff/e1c0945d

Branch: refs/heads/ignite-339
Commit: e1c0945dd6e459ea9c5a890feac66d6c70274a60
Parents: 28ecf57
Author: ivasilinets <ivasilinets@gridgain.com>
Authored: Fri Feb 27 17:45:36 2015 +0300
Committer: ivasilinets <ivasilinets@gridgain.com>
Committed: Fri Feb 27 17:45:36 2015 +0300

----------------------------------------------------------------------
 config/ignite-log4j.xml | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-ignite/blob/e1c0945d/config/ignite-log4j.xml
----------------------------------------------------------------------
diff --git a/config/ignite-log4j.xml b/config/ignite-log4j.xml
index 36fb40b..9d4521a 100644
--- a/config/ignite-log4j.xml
+++ b/config/ignite-log4j.xml
@@ -67,10 +67,12 @@
         Logs all output to specified file.
         By default, the logging goes to IGNITE_HOME/work/log folder
     -->
-    <appender name="FILE" class="org.apache.ignite.logger.log4j.Log4JFileAppender">
+    <appender name="FILE" class="org.apache.ignite.logger.log4j.Log4jRollingFileAppender">
         <param name="Threshold" value="DEBUG"/>
         <param name="File" value="${IGNITE_HOME}/work/log/ignite.log"/>
         <param name="Append" value="true"/>
+        <param name="MaxFileSize" value="10MB"/>
+        <param name="MaxBackupIndex" value="10"/>
         <layout class="org.apache.log4j.PatternLayout">
             <param name="ConversionPattern" value="[%d{ABSOLUTE}][%-5p][%t][%c{1}] %m%n"/>
         </layout>


Mime
View raw message