#IN mojo src
# WARNING: this gives line numbers but is very slow:
#    Pattern to output the caller's file name and line number.
#    log4j.appender.stdout.layout.ConversionPattern=%5p (%F:%L) - %m%n
# More reasonable formats are used below.
# Also, the doco says that the  ISO8601 and other log4j formats are much faster than the jdk formats.
#
# In the distribution, you can see format strings here:
#   jakarta-log4j-1.0.4\javadoc\org\apache\log4j\PatternLayout.html
# If it moves in the distribution, it will probably stay with the javadoc for the class PatternLayout.

## Turn this on to see the logging of the conf file parser itself.  Useful when debugging *this* file.
log4j.configDebug=false

## Set up the category PRIORITY and Appenders, in one line (ugg), such as INFO, or DEBUG.
##  the first token is the PRIORITY, then follow one to many appenders.
## the javadoc for \PropertyConfigurator has this to say about the syntax of this one line
##    (the others properties in this file are simpler, and all take just one value, I think).
##
##    log4j.rootCategory=[FATAL|ERROR|WARN|INFO|DEBUG], appenderName, appenderName, ...
##
## After the PRIORITY, you add the appenders: ROOT_Appender, and stdout, and so on.
## These are just names.  Each name is configured below.

## in dev, set priority to DEBUG, and add the ROOT_Appender and stdout appenders:
##log4j.rootCategory=DEBUG, ROOT_Appender, stdout, LogServer
##  with log file: log4j.rootCategory=DEBUG, ROOT_Appender, stdout
## with only stdout:

log4j.rootCategory=INFO, stdout

## this works (1/7/2005) but may cause leaks, so I'm turning it off for now:
##log4j.rootCategory=DEBUG, stdout, dmdbappender

log4j.appender.dmdbappender=com.dynamide.util.DBAppender
log4j.appender.dmdbappender.layout=org.apache.log4j.PatternLayout
log4j.appender.dmdbappender.layout.ConversionPattern=BY-PATTERN[%-5p %-15c{1}] %m%n\r\n

##Lumbermill:
#log4j.rootCategory=DEBUG, ROOT_Appender, stdout, LogServer


## in production mode, set priority to INFO, and add the ROOT_Appender and stdout appenders:
#log4j.rootCategory=INFO, ROOT_Appender, stdout

## Now configure all the appenders.

## This section is for the appender to stdout ###
log4j.appender.stdout=org.apache.log4j.FileAppender
log4j.appender.stdout.File=System.out
log4j.appender.stdout.layout=org.apache.log4j.PatternLayout

## minimal log line. 5/30/2003 7:03AM
log4j.appender.stdout.layout.ConversionPattern=[%-5p %-15c{1}] %m%n\r\n

## show the full category name:
#log4j.appender.stdout.layout.ConversionPattern=[%d] %5p [%c] %m%n
#show the short catogory name:
#log4j.appender.stdout.layout.ConversionPattern=[%d] %5p [%c{1}] %m%n

##1/10/2004 4:19PM log4j.appender.stdout.layout.DateFormat=ISO8601


## This section is for the appender to the logfile ###
#log4j.appender.ROOT_Appender=org.apache.log4j.RollingFileAppender
#log4j.appender.ROOT_Appender.File=${RUNDIR}/java/logs/logfile.txt
#log4j.appender.ROOT_Appender.Append=true
#log4j.appender.ROOT_Appender.MaxFileSize=1mb
#log4j.appender.ROOT_Appender.MaxBackupIndex=6
#log4j.appender.ROOT_Appender.layout=org.apache.log4j.PatternLayout
#log4j.appender.ROOT_Appender.layout.ConversionPattern=[%d] %5p [%t] [%c{1}] %m%n
#log4j.appender.ROOT_Appender.layout.DateFormat=ISO8601

## this is for lumbermill. 8/24/2002 8:22AM
log4j.appender.LogServer=org.apache.log4j.net.SocketAppender
log4j.appender.LogServer.Port=4445
log4j.appender.LogServer.RemoteHost=localhost

#Turn this on to DEBUG to see transcripts:
#log4j.category.com.dynamide.Constants.LOG_TRANSCRIPTS=DEBUG
#But normally it is off, since the log statements are at DEBUG priority.
log4j.category.com.dynamide.Constants.LOG_TRANSCRIPTS=ERROR

## Most of these should be set to ERROR rather than DEBUG for load testing and production.
## the handler log is needed for tuning apps, but uses lots of memory.

## the Handler log is turned on for DEBUG.

log4j.category.com.dynamide.Constants.LOG_HANDLER_PROC=DEBUG
#log4j.category.com.dynamide.Constants.LOG_HANDLER_PROC_TIMING=DEBUG
#log4j.category.com.dynamide.Constants.LOG_HANDLER_PROC=ERROR
log4j.category.com.dynamide.Constants.LOG_HANDLER_PROC_TIMING=ERROR

## the Handler log is turned on for DEBUG, set to WARN for production installation.
log4j.category.com.dynamide.Constants.LOG_EXPANSIONS=DEBUG
#log4j.category.com.dynamide.Constants.LOG_EXPANSIONS=ERROR

## Shows events that are not found in the HandlerLog:
#com.dynamide.Constants.LOG_HANDLER_PROC_MISSING_EVENTS_CATEGORY=DEBUG
com.dynamide.Constants.LOG_HANDLER_PROC_MISSING_EVENTS_CATEGORY=ERROR

## Show all http headers in the HandlerLog:
#com.dynamide.Constants.LOG_HANDLER_PROC_REQUEST_HEADERS=DEBUG
com.dynamide.Constants.LOG_HANDLER_PROC_REQUEST_HEADERS=ERROR

#turn this up to DEBUG to see details on copyDir and copyFile.
log4j.category.com.dynamide.util.FileTools=INFO

log4j.category.com.dynamide.util.Mail=INFO

#If you need to see details about how Assemblies load the web-apps.xml file, turn this to DEBUG:
log4j.category.com.dynamide.resource.WebApps=INFO

#Turn this to DEBUG to track down problems in locating resources and URIs
#log4j.category.com.dynamide.resource.ResourceManager=DEBUG
log4j.category.com.dynamide.resource.ResourceManager=INFO
#Turn this to DEBUG to track down problems in locating resources within Assemblies
#log4j.category.com.dynamide.resource.Assembly=DEBUG
log4j.category.com.dynamide.resource.Assembly=INFO
#Turns on LOG_CACHING in both Assembly and ResourceManager, BUT DEPENDS ON THE ABOVE TWO BEING ON:
</p><p>log4j.category.com.dynamide.Constants.LOG_CACHING=DEBUG
log4j.category.com.dynamide.Constants.LOG_CACHING=INFO
log4j.category.com.dynamide.Constants.LOG_TRANSFORMATIONS=WARN

log4j.category.com.dynamide.resource.Job=INFO

log4j.category.ObjectTransformerSAXImpl=WARN
log4j.category.SAXOutputHandler=WARN

log4j.category.com.skaringa=WARN

#set to DEBUG to see SQL and other debugging info in the login
log4j.category.org.netroots.Login=DEBUG