Customice logging
Introduction
Sync server logging can be customized by adding a log4j.properties file in the conf directory.
Example
Following is a sample log4j.properties configuration file:
log4j.rootCategory=INFO,handlers=java.util.logging.ConsoleHandler
stdout.level=INFO
log4j.appender.stdout=org.apache.log4j.ConsoleAppenderconfig=
log4j.appender.stdout.layout=org.apache.log4j.PatternLayoutjava.util.logging.ConsoleHandler.level=INFO
log4j.appender.stdout.layout.ConversionPattern=%d{ABSOLUTE} %5p [%t] %c:%m%n
log4j.category.org.hibernate=WARN
log4j.category.org.springframework=WARN
log4j.category.org.springframework.orm.hibernate3.HibernateTransactionManager=FATAL
log4j.category.RemoteServiceLocator=FATAL
log4j.category.java.util.logging.ConsoleHandler.formatter=com.soffid.iam.spring=DEBUGsync.engine.log.SoffidFormatter
log4j.category.org.apache.commons.jcs.auxiliary=DEBUGhibernate.level=WARNING
log4j.category.org.apache.commons.jcs.engine=DEBUGspringframework.level=WARNING
RemoteServiceLocator.level=SEVERE
org.mortbay.log.level=SEVERE
org.springframework.context.support.ClassPathXmlApplicationContext.level=WARNING