Sonic ESB logging and custom services

Default is : sonicfs:///System/SonicESB/log4j.xml

or

-Dorg.apache.commons.logging.LogFactory=org.apache.commons.logging.impl.Log4jFactory
 -DSonicESB.log4j.configuration=sonicfs:///System/SonicESB/log4j.properties

# The default logging level and appender
log4j.rootCategory = INFO, xqlog

# For ConversionPattern, see
# http://logging.apache.org/log4j/1.2/apidocs/org/apache/log4j/PatternLayout.html
#(Note that this line is required: log4j.appender.xqlog=com.sonicsw.xqimpl.util.log.XQLogAppender)
log4j.appender.xqlog=com.sonicsw.xqimpl.util.log.XQLogAppender
log4j.appender.xqlog.layout=org.apache.log4j.PatternLayout
log4j.appender.xqlog.layout.ConversionPattern=[%t] [%c{1}] %m


你可能感兴趣的:(apache,C++,c,xml,log4j)