# Configuration file for logging by JavaServer with log4j. # # Specify the level of logging (DEBUG, INFO, WARN, ERROR, or FATAL) # and a list of appenders you want to use (null, file, and syslog are # defined below). See http://www.vipan.com/htdocs/log4jhelp.html # log4j.rootCategory=INFO, null # # The default is the null appender (no logging). # log4j.appender.null=org.apache.log4j.varia.NullAppender # # Here is a setup for logging to a temporary file which might be # helpful for debugging (set the rootCategory level above to DEBUG). # log4j.appender.file=org.apache.log4j.FileAppender log4j.appender.file.File=/tmp/javaserver.log log4j.appender.file.ImmediateFlush=true log4j.appender.file.Append=false log4j.appender.file.layout=org.apache.log4j.PatternLayout log4j.appender.file.layout.ConversionPattern=%d{ISO8601} %c{2}: [%t] %p %x- %m%n # # To use the syslog appender it is necessary that the syslog daemon # (syslogd) be started with the "-r" option so that it will listen on # the network (which is how SyslogAppender talks to syslogd). On Debian # with SysV-style init, you can set this option in /etc/init.d/sysklogd. # Please be aware of the security issues related to providing syslog # service remotely with the "-r" option (e.g., denial-of-service). For # more information refer to the manual page for syslogd. # log4j.appender.syslog=org.apache.log4j.net.SyslogAppender log4j.appender.syslog.layout=org.apache.log4j.PatternLayout log4j.appender.syslog.layout.ConversionPattern=%c{2}: [%t] %p %x- %m%n log4j.appender.syslog.SyslogHost=localhost log4j.appender.syslog.Facility=DAEMON