#------------------------------------------------------------------------------- # log4j.properties file. There are three standard logs, system, admin, and # transaction. The admin log is not used in simulators. The user may use # class based logs, which will fall into the system (rootLogger) log. #------------------------------- Root (system) Logger Trace in dev, WARN in prod log4j.rootLogger=WARN, SYSTEM #----------------------------------- hapi Server (part of system, control level) log4j.logger.ca.uhn.hl7v2=WARN, SYSTEM #--------------------------------------------------- Hibernate logs Manual 3.5 log4j.logger.org.hibernate=warn #------------------------------------------------------------------ Transactions log4j.logger.transaction=INFO, SYSTEM #------------------------ Administrative log, put into system during development log4j.logger.admin=INFO, SYSTEM, ADMIN #--------------------------------------------------- daily rolling file appender log4j.appender.SYSTEM=org.apache.log4j.DailyRollingFileAppender log4j.appender.SYSTEM.File=./log/system.log #---------------------------------------- Roll the log file at midnight each day log4j.appender.SYSTEM.DatePattern='.'yyyy-MM-dd log4j.appender.SYSTEM.layout=org.apache.log4j.PatternLayout log4j.appender.SYSTEM.layout.ConversionPattern=[%t] %5p %C %m%n #--------------------------------------------------- daily rolling file appender log4j.appender.ADMIN=org.apache.log4j.DailyRollingFileAppender log4j.appender.ADMIN.File=./log/admin.log #---------------------------------------- Roll the log file at midnight each day log4j.appender.ADMIN.DatePattern='.'yyyy-MM-dd log4j.appender.ADMIN.layout=org.apache.log4j.PatternLayout log4j.appender.ADMIN.layout.ConversionPattern=[%t] %5p %C %m%n