Hello again Scott,

Thank you for your continued support in getting Chainsaw working properly!

Upgrading your app's version of log4j doesn't necessarily mean that's
the version of log4j being used by your app (if you're using the
parent-first classloader behavior and log4j is loaded by a parent
classloader).

Okay. I replaced 1.2.8's jar file in my Tomcat server with the 1.3a, and restarted it. So at this point, the only version being used in my project should be 1.3a. Is there a way I can verify this programmatically?


Recycling your web app could be causing the broken pipe.

Recycling - is that when I redeploy the app?

If you include your complete config file and more stack trace
information we might be able to figure it out.

Great! Attached is the complete log4j.properties file located in my WEB-INF/classes/ directory. It correctly generates all output to the log files specified.


When I load up Chainsaw, I just create the socketreceiver on 4445. Is there anything else I need to do?

Whenever I try to use the logger (with or without redeploying), I get this message:

log4j:WARN Detected problem with connection: java.net.SocketException: Broken pipe

  Is there other info I could send you?

  Thanks again Scott.

~Tom
##############################
# Daniel log4j configuration #
##############################

# Application name to prepend to various logs
app.name=grace

# Log Home
app.loghome=${catalina.home}/logs/${app.name}

################################################
# By default, log everything of INFO or higher
log4j.rootLogger=INFO,all,chainsaw

#####################################
# Appender for Hibernate O/R Mapper

log4j.appender.hibernate=org.apache.log4j.FileAppender 
log4j.appender.hibernate.File=${app.loghome}/hibernate.log 
log4j.appender.hibernate.layout=org.apache.log4j.PatternLayout 
log4j.appender.hibernate.layout.ConversionPattern=%d %-5p [%c{2}] %m%n

log4j.logger.net.sf.hibernate=INFO,hibernate

###############################
# Appender for Acegi Security

log4j.appender.acegi=org.apache.log4j.FileAppender 
log4j.appender.acegi.File=${app.loghome}/acegi.log 
log4j.appender.acegi.layout=org.apache.log4j.PatternLayout 
log4j.appender.acegi.layout.ConversionPattern=%d %-5p [%c{1}] %m%n

log4j.logger.net.sf.acegisecurity=INFO,acegi

#################################
# Appender for Spring Framework

log4j.appender.spring=org.apache.log4j.FileAppender 
log4j.appender.spring.File=${app.loghome}/spring.log 
log4j.appender.spring.layout=org.apache.log4j.PatternLayout 
log4j.appender.spring.layout.ConversionPattern=%d %-5p [%c] %m%n

log4j.logger.org.springframework=INFO,spring

#####################################
# Appender for Business Logic

log4j.appender.business=org.apache.log4j.FileAppender 
log4j.appender.business.File=${app.loghome}/business.log 
log4j.appender.business.layout=org.apache.log4j.PatternLayout 
log4j.appender.business.layout.ConversionPattern=%d %-5p %m%n

log4j.logger.org.dm.daniel.grace=DEBUG,business

###########################
# Appender for EVERYTHING

log4j.appender.all=org.apache.log4j.RollingFileAppender 
log4j.appender.all.File=${app.loghome}/all.log 
log4j.appender.all.layout=org.apache.log4j.PatternLayout 
log4j.appender.all.layout.ConversionPattern=%d{ABSOLUTE} %-5p [%c{1}] %m%n

#########################
# Appender for Chainsaw

log4j.appender.chainsaw=org.apache.log4j.net.SocketAppender
log4j.appender.chainsaw.remoteHost=localhost
log4j.appender.chainsaw.port=4445
log4j.appender.chainsaw.locationInfo=true


###############
# Other setup

# Limit apache commons to INFO; DEBUG generates a TON of stuff
log4j.logger.apache.commons=INFO
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to