eck.commons.tlc-io-x937-utils.2.1.0.source-code.log4j.properties Maven / Gradle / Ivy
################################################################################
# Copyright (c) 2009-2015 The Last Check, LLC, All Rights Reserved
#
# 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.
################################################################################
#
# Set root logger level and define appenders
#
#log4j.rootLogger=INFO, stdout
log4j.rootLogger=DEBUG, stdout, logfile
# stdout is set to be a ConsoleAppender
# stdout uses PatternLayout
# [date] [Priority] [class name] : [message]
log4j.appender.stdout=org.apache.log4j.ConsoleAppender
log4j.appender.stdout.layout=org.apache.log4j.PatternLayout
log4j.appender.stdout.layout.ConversionPattern=%d %-5p %60.60c : %m%n
# logfile is set to be a RollingFileAppender.
log4j.appender.logfile=org.apache.log4j.RollingFileAppender
log4j.appender.logfile.File=./target/logs/tlcreports.log
log4j.appender.logfile.MaxFileSize=15MB
log4j.appender.logfile.MaxBackupIndex=15
log4j.appender.logfile.layout=org.apache.log4j.PatternLayout
log4j.appender.logfile.layout.ConversionPattern=%d{ISO8601} %-5p %30.30c{2} : %m%n
log4j.logger.version = WARN
log4j.logger.org.apache.http=INFO
log4j.logger.org.exolab=INFO