sascha@4113: # Set root logger level to DEBUG and its only appender to A1.
sascha@4113: log4j.rootLogger=DEBUG, A1
sascha@4113: log4j.category.org.hibernate=DEBUG
sascha@4113: 
sascha@4113: # A1 is set to be a ConsoleAppender.
sascha@4113: log4j.appender.A1=org.apache.log4j.ConsoleAppender
sascha@4113: 
sascha@4113: # A1 uses PatternLayout.
sascha@4113: log4j.appender.A1.layout=org.apache.log4j.PatternLayout
sascha@4113: log4j.appender.A1.layout.ConversionPattern=%d - %m%n