Projet

Général

Profil

Télécharger (1,01 ko) Statistiques
| Branche: | Tag: | Révision:
2e0a7cb1 Sylvain L. Sauvage
# LOG4J configuration

# default logging
log4j.rootCategory= INFO, LOGFILE

# enable logging of incoming/outgoing SOAP requests/responses
#log4j.logger.org.apache.cxf.interceptor.LoggingInInterceptor=INFO, LOGFILE
#log4j.logger.org.apache.cxf.interceptor.LoggingOutInterceptor=INFO, LOGFILE
96454bcd Sylvain L. Sauvage
log4j.logger.org.apache.cxf= WARN, LOGFILE
2e0a7cb1 Sylvain L. Sauvage
# spring logging
log4j.logger.org.springframework = WARN, LOGFILE

# logging to file
log4j.appender.LOGFILE=org.apache.log4j.DailyRollingFileAppender
96454bcd Sylvain L. Sauvage
log4j.appender.LOGFILE.File=${catalina.base}/logs/epcis-phi.log
2e0a7cb1 Sylvain L. Sauvage
log4j.appender.LOGFILE.DatePattern='.'yyyy-MM-dd'.log'
log4j.appender.LOGFILE.layout=org.apache.log4j.PatternLayout
log4j.appender.LOGFILE.layout.ConversionPattern=%5p (%d{yyyy-MM-dd HH:mm:ss,SSS}) [%C:%L] - %m%n


## CONSOLE is set to be a ConsoleAppender using a PatternLayout.
log4j.appender.CONSOLE=org.apache.log4j.ConsoleAppender
log4j.appender.CONSOLE.layout=org.apache.log4j.PatternLayout
log4j.appender.CONSOLE.layout.ConversionPattern=[%p] [%C{1}:%L] %m%n