svn commit: r1856482 - /db/torque/torque4/trunk/torque-ant-tasks/src/test/resources/log4j2-test.xml

classic Classic list List threaded Threaded
1 message Options
gk
Reply | Threaded
Open this post in threaded view
|

svn commit: r1856482 - /db/torque/torque4/trunk/torque-ant-tasks/src/test/resources/log4j2-test.xml

gk
Author: gk
Date: Thu Mar 28 15:08:42 2019
New Revision: 1856482

URL: http://svn.apache.org/viewvc?rev=1856482&view=rev
Log:
- try to fix jenkins: ERROR StatusLogger No Log4j 2 configuration file found.

Added:
    db/torque/torque4/trunk/torque-ant-tasks/src/test/resources/log4j2-test.xml   (with props)

Added: db/torque/torque4/trunk/torque-ant-tasks/src/test/resources/log4j2-test.xml
URL: http://svn.apache.org/viewvc/db/torque/torque4/trunk/torque-ant-tasks/src/test/resources/log4j2-test.xml?rev=1856482&view=auto
==============================================================================
--- db/torque/torque4/trunk/torque-ant-tasks/src/test/resources/log4j2-test.xml (added)
+++ db/torque/torque4/trunk/torque-ant-tasks/src/test/resources/log4j2-test.xml Thu Mar 28 15:08:42 2019
@@ -0,0 +1,38 @@
+<?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="Torque" packages="">
+     <Appenders>
+       <Console name="console" target="SYSTEM_OUT">
+          <PatternLayout pattern="%d [%t] %-5p | %c - %m%n"/>
+      </Console>
+      <File name="torque" fileName="./target/torque-gen/log/torque-gen.log">
+          <PatternLayout pattern="%d [%t] %-5p %c - %m%n"/>
+      </File>
+    </Appenders>
+    <Loggers>
+          <Logger name="org.apache.torque" additivity="false" level="DEBUG">
+          <AppenderRef ref="torque" level="DEBUG"/>
+          <AppenderRef ref="console" level="INFO"/>
+      </Logger>
+      <Root level="INFO"><!-- log4j 1.2 has DEBUG -->
+          <AppenderRef ref="console"/>
+      </Root>
+    </Loggers>
+</Configuration>
\ No newline at end of file

Propchange: db/torque/torque4/trunk/torque-ant-tasks/src/test/resources/log4j2-test.xml
------------------------------------------------------------------------------
    svn:eol-style = native



---------------------------------------------------------------------
To unsubscribe, e-mail: [hidden email]
For additional commands, e-mail: [hidden email]