File:  [mozdev] / bookie / scripts / Attic / client.properties
Revision 1.1: download - view: text, annotated - select for diffs - revision graph
Wed May 9 08:48:10 2001 UTC (17 years, 10 months ago) by will
Branches: MAIN
CVS tags: HEAD
logging checkin.  I luv log4j -- it's so flexible.

# Set root category priority to DEBUG and its only appender to A1.
log4j.rootCategory=INFO, stdout, R

# show us debugging in the client.
log4j.category.bookie.client=DEBUG

# A1 is set to be a FileAppender which outputs to System.out.
log4j.appender.stdout=org.apache.log4j.FileAppender
log4j.appender.stdout.File=System.out

# Log to a file
log4j.appender.R=org.apache.log4j.RollingFileAppender
log4j.appender.R.File=client.log

log4j.appender.R.MaxFileSize=100KB
# Keep one backup file
log4j.appender.R.MaxBackupIndex=1

# R uses PatternLayout
log4j.appender.R.layout=org.apache.log4j.PatternLayout
log4j.appender.stdout.layout.ConversionPattern=%-4r [%t] %-5p %c %x - %m%n

# stdout uses PatternLayout.
log4j.appender.stdout.layout=org.apache.log4j.PatternLayout
log4j.appender.stdout.layout.ConversionPattern=%-4r [%t] %-5p %c %x - %m%n

FreeBSD-CVSweb <freebsd-cvsweb@FreeBSD.org>