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

n.exceptional4j.0.0.4.source-code.log4j.properties Maven / Gradle / Ivy

There is a newer version: 0.1
Show newest version

# Set the root loggers
log4j.rootLogger=warn, stdout, TextFile

# 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

# XMLFile uses the RollingFileAppender.  These files can get VERY big
log4j.appender.XMLFile=org.apache.log4j.RollingFileAppender
log4j.appender.XMLFile.File=log.xml
log4j.appender.XMLFile.MaxFileSize=100MB
log4j.appender.XMLFile.MaxBackupIndex=5

# XMLFile uses XML format for the Chainsaw viewer
log4j.appender.XMLFile.layout=org.apache.log4j.xml.XMLLayout
log4j.appender.XMLFile.layout.LocationInfo=true

log4j.appender.stdout.layout.ConversionPattern=%-6r %d{ISO8601} %-5p [%t] %c{2}.%M (%F:%L) - %m%n
log4j.appender.TextFile.layout.ConversionPattern=%-6r %d{ISO8601} %-5p [%t] %c{2}.%M (%F:%L) - %m%n

org.apache.commons=off
# will log all information read/written from/to the network using HttpClient
#log4j.logger.org.lantern.exceptional4j=all




© 2015 - 2024 Weber Informatics LLC | Privacy Policy