Commit 1304b264 authored by Spiros Koulouzis's avatar Spiros Koulouzis

Added logging props

parent eb9d27df
# Internal log4j configuration. This is not packaged and distributed. The using # LOG4J Configuration
# party is in control of its own log4j.properties. # ===================
# Root logger option # Set root logger level to DEBUG and its only appender to A1.
log4j.rootLogger=INFO, stdout log4j.rootLogger=FINE, A1
# Direct log messages to stdout
log4j.appender.stdout=org.apache.log4j.ConsoleAppender
log4j.appender.stdout.Target=System.out
log4j.appender.stdout.layout=org.apache.log4j.PatternLayout
log4j.appender.stdout.layout.ConversionPattern=%d{yyyy-MM-dd HH:mm:ss} %-5p %c{1}:%L - %m%n
log4j.appender.authorizationLog=org.apache.log4j.RollingFileAppender
log4j.appender.authorizationLog.File=logs/authorization.log
log4j.appender.authorizationLog.MaxFileSize=20MB
log4j.appender.authorizationLog.MaxBackupIndex=10
log4j.appender.authorizationLog.layout=org.apache.log4j.PatternLayout
log4j.appender.authorizationLog.layout.ConversionPattern=%d{yyyy-MM-dd HH:mm:ss} %-5p - %m%n
log4j.appender.authenticationLog=org.apache.log4j.RollingFileAppender log4j.category.org.apache.http=OFF
log4j.appender.authenticationLog.File=logs/authentication.log log4j.category.io.milton=OFF
log4j.appender.authenticationLog.MaxFileSize=20MB log4j.category.org.apache.commons=OFF
log4j.appender.authenticationLog.MaxBackupIndex=10 log4j.category.org.globus=OFF
log4j.appender.authenticationLog.layout=org.apache.log4j.PatternLayout log4j.org.apache.axis=OFF
log4j.appender.authenticationLog.layout.ConversionPattern=%d{yyyy-MM-dd HH:mm:ss} %-5p - %m%n log4j.org.apache.http=OFF
log4j.org.apache.jackrabbit=OFF
log4j.logger.org.apache.jackrabbit=OFF
log4j.logger.httpclient.wire.header=OFF
log4j.logger.httpclient.wire.content=OFF
log4j.logger.org.globus=OFF
log4j.logger.io.milton=SEVERE
log4j.io.milton=SEVERE
log4j.category.authorizationLogger=TRACE, authorizationLog # A1 is set to be a ConsoleAppender.
#log4j.additivity.authorizationLogger=false log4j.appender.A1=org.apache.log4j.ConsoleAppender
log4j.category.authenticationLogger=DEBUG, authenticationLog # A1 uses PatternLayout.
#log4j.additivity.authenticationLogger=false log4j.appender.A1.layout=org.apache.log4j.PatternLayout
\ No newline at end of file log4j.appender.A1.layout.ConversionPattern=%d{HH:mm:ss,SSS} (%t) %-5p [%c] - %m%n
\ No newline at end of file
handlers = org.apache.juli.FileHandler, java.util.logging.ConsoleHandler
nl.uva.cs.level = FINE
############################################################
# Handler specific properties.
# Describes specific configuration info for Handlers.
############################################################
org.apache.juli.FileHandler.level = FINE
org.apache.juli.FileHandler.directory = ${catalina.base}/logs
java.util.logging.ConsoleHandler.level = FINE
java.util.logging.ConsoleHandler.formatter = java.util.logging.SimpleFormatter
\ No newline at end of file
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment