# Configuration file for logging in OpenEJB # # OpenEJB uses Apache Log4j to provide logging services # to the container system. # # This file configures log4j using the properties file # format declared by the class PropertyConfigurator # # For a complete reference on log4j property # configuration, visit: # # http://jakarta.apache.org/log4j/docs/api/org/apache/log4j/PropertyConfigurator.html # # This file is designated as the log4j configuration file # when the system property, log4j.configuration, is set # as follows: # # java -Dlog4j.configuration=file:conf/logging.conf # # Any other file could be set as the log4j configuration # file using that file name instead. For example, to # set the logging configuration using logging.xml, set # the log4j.configuration system property as follows: # # java -Dlog4j.configuration=file:conf/logging.xml # # For more information on specifying log4j configuration # files, visit: # # http://jakarta.apache.org/log4j/docs/manual.html # # log4j.category.OpenEJB=debug, R log4j.appender.R=org.apache.log4j.RollingFileAppender log4j.appender.R.File=openejb.log log4j.appender.R.MaxFileSize=100KB # Keep three backup files log4j.appender.R.MaxBackupIndex=3 log4j.appender.R.layout=org.apache.log4j.PatternLayout #log4j.appender.R.layout.ConversionPattern= [%c] %-5p - %m%n log4j.appender.R.layout.ConversionPattern= %-5p: %m%n # Temporary log4j.category.Transaction=debug, TX log4j.appender.TX=org.apache.log4j.RollingFileAppender log4j.appender.TX.File=transaction.log log4j.appender.TX.MaxFileSize=100KB log4j.appender.TX.MaxBackupIndex=3 log4j.appender.TX.layout=org.apache.log4j.PatternLayout log4j.appender.TX.layout.ConversionPattern=%p %t %c - %m%n