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

ayz.light-rpc.1.0.3.source-code.log4j.properties Maven / Gradle / Ivy

There is a newer version: 6.0.0
Show newest version
# Define the types of logger and level of logging
log4j.rootLogger = DEBUG,console, FILE

# Define the File appender
log4j.appender.FILE=org.apache.log4j.FileAppender

# Define Console Appender
log4j.appender.console=org.apache.log4j.ConsoleAppender

# Define the layout for console appender. If you do not
# define it, you will get an error
log4j.appender.console.layout=org.apache.log4j.PatternLayout
log4j.appender.console.layout.conversionPattern=[%d{HH\:mm\:ss\:SSS}][%p] (%c\:%L) - %m%n

# Set the name of the file
log4j.appender.FILE.File=rpc.log

# Set the immediate flush to true (default)
log4j.appender.FILE.ImmediateFlush=true

# Set the threshold to debug mode
log4j.appender.FILE.Threshold=debug

# Set the append to false, overwrite
log4j.appender.FILE.Append=false

# Define the layout for file appender
log4j.appender.FILE.layout=org.apache.log4j.PatternLayout
log4j.appender.FILE.layout.conversionPattern=[%d{HH\:mm\:ss\:SSS}][%p] (%c\:%L) - %m%n




© 2015 - 2024 Weber Informatics LLC | Privacy Policy