#------------------------------------------------------------------------------- # 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=TRACE, SYSTEM #-------------------------------------------------- hapi Server (part of system) log4j.logger.ca.uhn.hl7v2=WARN #--------------------------------------------------- Hibernate logs Manual 3.5 log4j.logger.org.hibernate=info #-------------------------------- AST HQL and SQL ASTs during query parsing #log4j.logger.org.hibernate.hql.ast.AST=debug #---------------------------------- SQL DML statements as they are executed log4j.logger.org.hibernate.SQL=debug #------------------------------------------------------ log JDBC parameters #log4j.logger.org.hibernate.type=debug #------------------------------------------------ JDBC resource acquisition #log4j.logger.org.hibernate.jdbc=debug #---------------------------------- SQL DDL statements as they are executed #log4j.logger.org.hibernate.tool.hbm2ddl=info #------------------------------------------------------ log HQL parse trees #log4j.logger.org.hibernate.hql=debug #------------------------------------------------- 2nd level cache activity #log4j.logger.org.hibernate.cache=debug #----------------------------------------------------- transaction activity #log4j.logger.org.hibernate.transaction=debug #------------------------------------------------------------------ Transactions log4j.logger.transaction=INFO, SYSTEM, TRANSACTION #------------------------ Administrative log, put into system during development log4j.logger.admin=INFO, SYSTEM #----------------------------------------------------------- system, console out log4j.appender.SYSTEM=org.apache.log4j.ConsoleAppender log4j.appender.SYSTEM.layout=org.apache.log4j.PatternLayout log4j.appender.SYSTEM.layout.ConversionPattern=[%t] %5p %C %m%n #------------------------------------------------------------ Hibernate Appender # Used for Transactions logs, which are maintained in the LogEventEntity table # in the public schema. User is responsible for adding the MDC keys: # UserEntity.id, InstitutionEntity.id and SessionEntity.id to the correct String # values BEFORE corresponding log entries are made. See LogEventEntity.java for # details #------------------------------------------------------------------------------- log4j.appender.TRANSACTION=net.ihe.gazelle.shakespeare.stage.HibernateAppender log4j.appender.TRANSACTION.sessionServiceClass=net.ihe.gazelle.shakespeare.stage.HibernateUtil log4j.appender.TRANSACTION.loggingEventClass=net.ihe.gazelle.shakespeare.stage.model.LogEventEntity