You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@logging.apache.org by gg...@apache.org on 2016/09/21 23:17:47 UTC
logging-log4j2 git commit: Handy Console-only configuration file for
ah-hoc tests.
Repository: logging-log4j2
Updated Branches:
refs/heads/master c8ee4b3b6 -> 8729b28d0
Handy Console-only configuration file for ah-hoc tests.
Project: http://git-wip-us.apache.org/repos/asf/logging-log4j2/repo
Commit: http://git-wip-us.apache.org/repos/asf/logging-log4j2/commit/8729b28d
Tree: http://git-wip-us.apache.org/repos/asf/logging-log4j2/tree/8729b28d
Diff: http://git-wip-us.apache.org/repos/asf/logging-log4j2/diff/8729b28d
Branch: refs/heads/master
Commit: 8729b28d01d4335566f390bd788886abc8728745
Parents: c8ee4b3
Author: Gary Gregory <gg...@apache.org>
Authored: Wed Sep 21 16:17:39 2016 -0700
Committer: Gary Gregory <gg...@apache.org>
Committed: Wed Sep 21 16:17:39 2016 -0700
----------------------------------------------------------------------
log4j-core/src/test/resources/log4j-console.xml | 29 ++++++++++++++++++++
1 file changed, 29 insertions(+)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/logging-log4j2/blob/8729b28d/log4j-core/src/test/resources/log4j-console.xml
----------------------------------------------------------------------
diff --git a/log4j-core/src/test/resources/log4j-console.xml b/log4j-core/src/test/resources/log4j-console.xml
new file mode 100644
index 0000000..6e10b8a
--- /dev/null
+++ b/log4j-core/src/test/resources/log4j-console.xml
@@ -0,0 +1,29 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--
+ Licensed to the Apache Software Foundation (ASF) under one or more
+ contributor license agreements. See the NOTICE file distributed with
+ this work for additional information regarding copyright ownership.
+ The ASF licenses this file to You under the Apache License, Version 2.0
+ (the "License"); you may not use this file except in compliance with
+ the License. You may obtain a copy of the License at
+
+ http://www.apache.org/licenses/LICENSE-2.0
+
+ Unless required by applicable law or agreed to in writing, software
+ distributed under the License is distributed on an "AS IS" BASIS,
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ See the License for the specific language governing permissions and
+ limitations under the License.
+-->
+<Configuration status="WARN" name="XMLConfigTest">
+ <Appenders>
+ <Console name="STDOUT">
+ <PatternLayout pattern="%d %-5level [%t][%logger]%notEmpty{[%markerSimpleName]} %msg%n%xThrowable" />
+ </Console>
+ </Appenders>
+ <Loggers>
+ <Root level="debug">
+ <AppenderRef ref="STDOUT" />
+ </Root>
+ </Loggers>
+</Configuration>
\ No newline at end of file