# A log4j properties file suitable for replacing the # default JBoss ConsoleLogging & FileLogging mbeans. # Set the JBossCategoryFactory as the default CategoryFactory log4j.categoryFactory=org.jboss.logging.log4j.JBossCategory$JBossCategoryFactory log4j.rootCategory=DEBUG, Default, Console ### The server.log file appender log4j.appender.Default=org.apache.log4j.FileAppender log4j.appender.Default.File=../log/server.log log4j.appender.Default.layout=org.apache.log4j.PatternLayout # Use the default JBoss format log4j.appender.Default.layout.ConversionPattern=[%c{1}] %m%n # Truncate if it aleady exists. log4j.appender.Default.Append=false #Example of turning off logging for a category. Uncomment to turn off. #log4j.category.DefaultDS=FATAL ### The console appender log4j.appender.Console=org.jboss.logging.log4j.ConsoleAppender log4j.appender.Console.Threshold=INFO log4j.appender.Console.layout=org.apache.log4j.PatternLayout log4j.appender.Console.layout.ConversionPattern=[%c{1}] %m%n # Example of only showing INFO msgs for any categories under org.jboss.util #log4j.category.org.jboss.util=INFO log4j.category.net.sf.tapestry=WARN # An example of enabling the custom TRACE level priority that is used # by the JBoss internals to diagnose low level details. This example # turns on TRACE level msgs for the org.jboss.ejb.plugins package and its # subpackages. This will produce A LOT of logging output. #log4j.category.org.jboss.ejb.plugins=TRACE#org.jboss.logging.log4j.TracePriority