All Downloads are FREE. Search and download functionalities are using the official Maven repository.

groo-ann.4.0.0.source-code.log4j.properties Maven / Gradle / Ivy

There is a newer version: 4.3.1
Show newest version
#
# Copyright (C) 2012 cogroo 
#
# Licensed 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.
#

# stdout
log4j.appender.stdout=org.apache.log4j.ConsoleAppender
log4j.appender.stdout.Target=System.out
log4j.appender.stdout.layout=org.apache.log4j.PatternLayout
log4j.appender.stdout.layout.ConversionPattern=%d{ABSOLUTE} %5p %c{1}:%L - %m%n

# file
log4j.appender.test=org.apache.log4j.FileAppender
log4j.appender.test.File=${java.io.tmpdir}/br.usp.pcs.lta.cogroo.base.${user.name}/logfile.xml
log4j.appender.test.layout=org.apache.log4j.xml.XMLLayout
log4j.appender.test.append=false
#log4j.appender.test.layout.ConversionPattern=%d{ABSOLUTE} %5p %c{1}:%L - %m%n

# Chainsaw
log4j.appender.Chainsaw=org.apache.log4j.net.SocketAppender
log4j.appender.Chainsaw.remoteHost=localhost
log4j.appender.Chainsaw.port=4445
log4j.appender.Chainsaw.locationInfo=true

# Production logger.
log4j.rootLogger=error, test, stdout

# Debug console only.
#log4j.rootLogger=debug, stdout

# Info console only.
#log4j.rootLogger=info, stdout

# Debug console + file.
#log4j.rootLogger=debug, stdout, test

# Debug console + file + chainsaw.
#log4j.rootLogger=info, Chainsaw, stdout




© 2015 - 2025 Weber Informatics LLC | Privacy Policy