Author: tv Date: Thu Nov 28 09:34:43 2019 New Revision: 1870546 URL: http://svn.apache.org/viewvc?rev=1870546&view=rev Log: Fix formatting
Added: db/torque/torque4/trunk/torque-generator/src/main/resources/org/apache/torque/generator/log4j2.xml Added: db/torque/torque4/trunk/torque-generator/src/main/resources/org/apache/torque/generator/log4j2.xml URL: http://svn.apache.org/viewvc/db/torque/torque4/trunk/torque-generator/src/main/resources/org/apache/torque/generator/log4j2.xml?rev=1870546&view=auto ============================================================================== --- db/torque/torque4/trunk/torque-generator/src/main/resources/org/apache/torque/generator/log4j2.xml (added) +++ db/torque/torque4/trunk/torque-generator/src/main/resources/org/apache/torque/generator/log4j2.xml Thu Nov 28 09:34:43 2019 @@ -0,0 +1,45 @@ +<?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> + <File name="velocity" fileName="./target/torque-gen/log/velocity.log"> + <PatternLayout pattern="%d [%t] %-5p %c - %m%n"/> + </File> + </Appenders> + <Loggers> + <Logger name="org.apache.torque" additivity="false" level="ALL"> + <AppenderRef ref="torque" level="DEBUG"/> + <AppenderRef ref="console" level="INFO"/> + </Logger> + <Logger name="org.apache.velocity" additivity="false" level="INFO"> + <AppenderRef ref="velocity"/> + <AppenderRef ref="console"/> + </Logger> + <Root level="INFO"><!-- log4j 1.2 has DEBUG --> + <AppenderRef ref="console"/> + </Root> + </Loggers> +</Configuration> \ No newline at end of file --------------------------------------------------------------------- To unsubscribe, e-mail: torque-dev-unsubscr...@db.apache.org For additional commands, e-mail: torque-dev-h...@db.apache.org