Hi,
Regarding my difficulty with getting logging working, I am now
at a point where my logging is working, but not going to the correct file.
I know this is not totally a Tapestry issue, but I'm wondering if Tapestry
is doing something special that I need to be aware of.

My goal:
========
Have all tapestry logging going to one file,
while my application logging goes to my file.

============== log4j.properties file============
log4j.debug=true
#### Root #####
#log4j.rootLogger=debug, stdout, R
log4j.rootCategory=DEBUG, stdout, R
log4j.appender.stdout=org.apache.log4j.ConsoleAppender
log4j.appender.stdout.layout=org.apache.log4j.PatternLayout
# Pattern to output the caller's file name and line number.
log4j.appender.stdout.layout.ConversionPattern=%5p [%t] (%F:%L) - %m%n
log4j.appender.R=org.apache.log4j.RollingFileAppender

log4j.appender.R.File=root.log

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

log4j.appender.R.layout=org.apache.log4j.PatternLayout
log4j.appender.R.layout.ConversionPattern=%p %c - %m%n
#### Tigerangel #####
log4j.logger.Tigerangel==debug, P
log4j.appender.P=org.apache.log4j.RollingFileAppender

log4j.appender.P.File=tiger.log

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

The problem
===========
At the moment, logging for "log4j.logger.Tigerangel"
goes to root.log, instead of tiger.log which is empty.

Is there anything I'm obviously doing wrong???

Thanks,

Pat.


-------------------------------------------------------
This sf.net email is sponsored by:ThinkGeek
Welcome to geek heaven.
http://thinkgeek.com/sf
_______________________________________________
Tapestry-developer mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/tapestry-developer

Reply via email to