#
# Sample log4j.configuration file. Lines starting with # are comments.
#

# Set root logger level to WARN (display warning and error messages).
# All items listed after WARN define the active loggers
# Valid logging levels are DEBUG, INFO, WARN, ERROR and FATAL

log4j.rootLogger=WARN, LOGFILE

# Increase the logging level for the main PIE object
# to provide information on initial configuration

log4j.logger.com.pronto.pie.app.PIEApplication=INFO, CONSOLE

# Increase the logging level on the connector configuration objects
# to provide logging of the stopping and starting of services.

log4j.logger.com.pronto.pie.app.LegacyServerConnector=INFO, CONSOLE
log4j.logger.com.pronto.pie.app.RmiConnector=INFO, CONSOLE

# Log the full input and output from each api call
#
#log4j.logger.com.pronto.pie.core.ApiSocket=DEBUG

# Log each significant step in an every api call
# (creation, queuing, execution, completion)
#
# log4j.logger.com.pronto.pie.app.ApiCall=DEBUG

# Log changes to the number of connections on each port
# 
# log4j.logger.com.pronto.pie.core.ServiceBalancer=INFO

# Log the opening and closing of individual sockets
#
# log4j.logger.com.pronto.pie.core.Service=INFO


# CONSOLE
# This logs output to stdout
log4j.appender.CONSOLE=org.apache.log4j.ConsoleAppender
log4j.appender.CONSOLE.layout=org.apache.log4j.PatternLayout
#log4j.appender.CONSOLE.layout.ConversionPattern=%-6r %x - %m%n
log4j.appender.CONSOLE.layout.ConversionPattern=%d [%t] %-5p %c %x - %m%n

# LOGFILE
# This logs to a file called pie.log
log4j.appender.LOGFILE.File=../logs/pie.log
log4j.appender.LOGFILE=org.apache.log4j.RollingFileAppender
log4j.appender.LOGFILE.MaxFileSize=200KB
log4j.appender.LOGFILE.MaxBackupIndex=10
log4j.appender.LOGFILE.layout=org.apache.log4j.PatternLayout
log4j.appender.LOGFILE.layout.ConversionPattern=%d [%t] %-5p %c %x - %m%n
