# DEBUG < INFO < WARN < ERROR < FATAL
# Set root category priority to a level and its only appender to A1.
log4j.rootCategory=INFO, Console, File

# Console
log4j.appender.Console=org.apache.log4j.ConsoleAppender
log4j.appender.Console.layout=org.apache.log4j.PatternLayout
log4j.appender.Console.layout.ConversionPattern=[%t] %p %d %l - %m%n

# File
log4j.appender.File=org.apache.log4j.FileAppender
log4j.appender.File.File=reindersBM.log
#log4j.appender.File.Threshold=ERROR
log4j.appender.File.Append=false
#log4j.appender.File.MaxFileSize=10KB
#log4j.appender.File.MaxBackupIndex=1
log4j.appender.File.layout=org.apache.log4j.PatternLayout
log4j.appender.File.layout.ConversionPattern=[%t] %p %d %l - %m%n
xlog4j.appender.File.layout.ConversionPattern=[%t] %p - %m%n

# File Rolling
log4j.appender.FileRolling=org.apache.log4j.DailyRollingFileAppender 
log4j.appender.FileRolling.DatePattern='.'yyyy-MM-dd
#log4j.appender.A1.DailyRollingFileAppender.DatePattern = '.'yyyy-MM-dd-HH-mm
log4j.appender.FileRolling.File=reindersBM.log
#log4j.appender.FileRolling.Threshold=DEBUG
log4j.appender.FileRolling.Append=false
#log4j.appender.FileRolling.MaxFileSize=10MB
log4j.appender.FileRolling.layout=org.apache.log4j.PatternLayout
log4j.appender.FileRolling.layout.ConversionPattern=[%t] %d - %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

# PATTERN LAYOUT tokens
# c Used to output the category of the logging event. 
# C Used to output the fully qualified class name of the caller issuing the logging request. 
# d Used to output the date of the logging event. 
# F Used to output the file name where the logging request was issued. 
# l Used to output location information of the caller which generated the logging event. 
# L Used to output the line number from where the logging request was issued. 
# m Used to output the application supplied message associated with the logging event. 
# M Used to output the method name where the logging request was issued. 
# n Outputs the platform dependent line separator character or characters. 
# p Used to output the priority of the logging event. 
# r Used to output the number of milliseconds elapsed since the start of the application until the creation of the logging event. 
# t Used to output the name of the thread that generated the logging event. 
# x Used to output the NDC (nested diagnostic context) associated with the thread that generated the logging event.  
# X Used to output the MDC (mapped diagnostic context) associated with the thread that generated the logging event. 
# % The sequence %% outputs a single percent sign.  

# what are we interested in?
#log4j.category.org.hibernate=DEBUG
#log4j.logger.org.tbee.util.jdbc=DEBUG
log4j.logger.org.tbee.util.jdbc.Connection.sql=DEBUG
