ot.http-client.1.0.3.source-code.log4j.properties Maven / Gradle / Ivy
########
# log4j configuration file.
########
#########
# Valid thresholds can be:
# OFF, FATAL, ERROR, WARN, INFO, DEBUG, ALL
########
#NOTE: if you want to enable remote/live debugging grep for "socket"
# and uncomment/edit the appropriate lines.
# Set the root loggers
log4j.rootLogger=warn, stdout, TextFile
# The root logger uses the appenders called stdout, TextFile and XMLFile.
# The default level for these loggers is OFF.
# stdout is set to be ConsoleAppender sending its output to System.out
log4j.appender.stdout=org.apache.log4j.ConsoleAppender
# stdout uses PatternLayout.
log4j.appender.stdout.layout=org.apache.log4j.PatternLayout
# TextFile uses PatternLayout as well
log4j.appender.TextFile=org.apache.log4j.RollingFileAppender
log4j.appender.TextFile.File=log.txt
log4j.appender.TextFile.MaxFileSize=50MB
log4j.appender.TextFile.MaxBackupIndex=5
log4j.appender.TextFile.layout=org.apache.log4j.PatternLayout
log4j.appender.stdout.layout.ConversionPattern=%-6r %-5p [%t] %c{2}.%M - %m%n
log4j.appender.TextFile.layout.ConversionPattern=%-6r %-5p [%t] %c{2}.%M - %m%n
log4j.logger.httpclient.wire=OFF
org.apache.commons=OFF
# will log all information read/written from/to the network using HttpClient
#log4j.logger.org.lastbamboo.http=all
© 2015 - 2025 Weber Informatics LLC | Privacy Policy