You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@logging.apache.org by mi...@apache.org on 2015/11/30 10:05:25 UTC
[05/50] logging-log4j2 git commit: LOG4J2-435 simplified integration
test config file
LOG4J2-435 simplified integration test config file
Project: http://git-wip-us.apache.org/repos/asf/logging-log4j2/repo
Commit: http://git-wip-us.apache.org/repos/asf/logging-log4j2/commit/aecb1d16
Tree: http://git-wip-us.apache.org/repos/asf/logging-log4j2/tree/aecb1d16
Diff: http://git-wip-us.apache.org/repos/asf/logging-log4j2/diff/aecb1d16
Branch: refs/heads/LOG4J-1181
Commit: aecb1d16b406f74c85fdede60cbdcaca5fab74c4
Parents: eb1f7a2
Author: rpopma <rp...@apache.org>
Authored: Fri Nov 27 13:32:06 2015 +0900
Committer: rpopma <rp...@apache.org>
Committed: Fri Nov 27 13:32:06 2015 +0900
----------------------------------------------------------------------
.../resources/log4j-rolling-with-custom-delete.xml | 15 +--------------
1 file changed, 1 insertion(+), 14 deletions(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/logging-log4j2/blob/aecb1d16/log4j-core/src/test/resources/log4j-rolling-with-custom-delete.xml
----------------------------------------------------------------------
diff --git a/log4j-core/src/test/resources/log4j-rolling-with-custom-delete.xml b/log4j-core/src/test/resources/log4j-rolling-with-custom-delete.xml
index 869e2e6..3868ba0 100644
--- a/log4j-core/src/test/resources/log4j-rolling-with-custom-delete.xml
+++ b/log4j-core/src/test/resources/log4j-rolling-with-custom-delete.xml
@@ -22,10 +22,6 @@
</Properties>
<Appenders>
- <Console name="STDOUT">
- <PatternLayout pattern="%m%n" />
- </Console>
-
<RollingFile name="RollingFile" fileName="${base}/rollingtest.log"
filePattern="${base}/test/test-%i.log">
<PatternLayout>
@@ -35,25 +31,16 @@
<SizeBasedTriggeringPolicy size="50" />
</Policies>
<DefaultRolloverStrategy max="100" stopCustomActionsOnError="true">
- <!-- custom action executed asynchronously after the rollover -->
<Delete basePath="${base}/test" maxDepth="2" followLinks="false">
<IfFileName glob="test-4.log" /> <!-- only keep files 1, 2 and 3 -->
</Delete>
</DefaultRolloverStrategy>
</RollingFile>
- <List name="List">
- <ThresholdFilter level="error" />
- </List>
</Appenders>
<Loggers>
- <Logger name="org.apache.logging.log4j.core.appender.rolling" level="debug" additivity="false">
+ <Root level="trace">
<AppenderRef ref="RollingFile" />
- </Logger>
- >
-
- <Root level="error">
- <AppenderRef ref="STDOUT" />
</Root>
</Loggers>