Author: gk
Date: Fri Dec 20 15:10:01 2019
New Revision: 1871863
URL: http://svn.apache.org/viewvc?rev=1871863&view=rev
Log:
- adding log configuration
Added:
db/torque/torque4/trunk/torque-maven-plugin/src/main/resources/
db/torque/torque4/trunk/torque-maven-plugin/src/main/resources/log4j2.xml
(with props)
Modified:
db/torque/torque4/trunk/torque-maven-plugin/pom.xml
Modified: db/torque/torque4/trunk/torque-maven-plugin/pom.xml
URL:
http://svn.apache.org/viewvc/db/torque/torque4/trunk/torque-maven-plugin/pom.xml?rev=1871863&r1=1871862&r2=1871863&view=diff
==============================================================================
--- db/torque/torque4/trunk/torque-maven-plugin/pom.xml (original)
+++ db/torque/torque4/trunk/torque-maven-plugin/pom.xml Fri Dec 20 15:10:01 2019
@@ -84,6 +84,13 @@
<artifactId>commons-io</artifactId>
<scope>test</scope>
</dependency>
+
+ <dependency>
+ <groupId>org.apache.logging.log4j</groupId>
+ <artifactId>log4j-slf4j-impl</artifactId>
+ <version>2.13.0</version>
+ </dependency>
+
</dependencies>
<build>
Added: db/torque/torque4/trunk/torque-maven-plugin/src/main/resources/log4j2.xml
URL:
http://svn.apache.org/viewvc/db/torque/torque4/trunk/torque-maven-plugin/src/main/resources/log4j2.xml?rev=1871863&view=auto
==============================================================================
--- db/torque/torque4/trunk/torque-maven-plugin/src/main/resources/log4j2.xml
(added)
+++ db/torque/torque4/trunk/torque-maven-plugin/src/main/resources/log4j2.xml
Fri Dec 20 15:10:01 2019
@@ -0,0 +1,37 @@
+<?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 name="Torque-Maven">
+ <Appenders>
+ <Console name="console" target="SYSTEM_OUT">
+ <PatternLayout pattern="%d [%t] %-5p | %c - %m%n" />
+ </Console>
+ </Appenders>
+ <Loggers>
+ <Logger name="org.apache.torque.generator.maven" additivity="false"
level="INFO">
+ <AppenderRef ref="console" level="INFO" />
+ </Logger>
+ <Logger name="org.apache.torque.generator" additivity="false"
level="INFO">
+ <AppenderRef ref="console" />
+ </Logger>
+ <Root level="WARN">
+ <AppenderRef ref="console" />
+ </Root>
+ </Loggers>
+</Configuration>
\ No newline at end of file
Propchange:
db/torque/torque4/trunk/torque-maven-plugin/src/main/resources/log4j2.xml
------------------------------------------------------------------------------
svn:eol-style = native
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]