Do not use on any
shared computer
July 24, 2008 07:46pm pdt
null
[x]
Attachment Details

Problems with Log4j

Hello,

We recently upgraded our infrastructure to implement a cluster solution for our applications. The existing webapp along with its log4j.properties was transported to the new platform and configured accordingly but since then It simply refuses to log anything :(

When I redeploy the webapp, it creates the logfile as configured in the log4j but does not log anything to it. I have pasted below our log4j.properties and would appreciate a lot if somebody can help me figure this out.

# initialise root logger with level DEBUG and call it BLAH
#log4j.rootLogger=INFO, XTMPLING
log4j.rootLogger=INFO

#CACHING LOGGING
log4j.category.com.tmn.portal.framework.cache=ERROR, VAPAPPENDER
log4j.appender.VAPAPPENDER=org.apache.log4j.RollingFileAppender
log4j.appender.VAPAPPENDER.MaxFileSize=5000KB
log4j.appender.VAPAPPENDER.MaxBackupIndex=5
log4j.appender.VAPAPPENDER.File=/opt/vignette/ProVAP71/logs/tmndps/caching_logging.log
log4j.appender.VAPAPPENDER.Append=false
log4j.appender.VAPAPPENDER.layout=org.apache.log4j.PatternLayout
log4j.appender.VAPAPPENDER.layout.ConversionPattern=%p %c %d{dd-MM-yyyy HH:mm:ss} %m%n

Thanks in adv,
sg
Start your free trial to view this solution
Question Stats
Zone: Programming
Question Asked By: sandsgaucho
Question Asked On: 01.25.2008
Participating Experts: 2
Points: 500
Views: 0
Translate:
Loading Advertisement...
 
[+][-]Administrative Comment by Vee_Mod
Administrative Comment by Vee_Mod:

All comments and solutions are available to Premium Service Members only.

Start your 7-day free trial and see for yourself why Experts Exchange is the easiest and most proven technology resource in the world. Get Started

Already a member? Login to view this solution.

 
 
[+][-]Expert Comment by sunray_2003
Expert Comment by sunray_2003:

All comments and solutions are available to Premium Service Members only.

Start your 7-day free trial and see for yourself why Experts Exchange is the easiest and most proven technology resource in the world. Get Started

Already a member? Login to view this solution.

 
 
[+][-]Author Comment by sandsgaucho
Author Comment by sandsgaucho:

All comments and solutions are available to Premium Service Members only.

Start your 7-day free trial and see for yourself why Experts Exchange is the easiest and most proven technology resource in the world. Get Started

Already a member? Login to view this solution.

 
 
[+][-]Expert Comment by ronghao
Expert Comment by ronghao:

All comments and solutions are available to Premium Service Members only.

Start your 7-day free trial and see for yourself why Experts Exchange is the easiest and most proven technology resource in the world. Get Started

Already a member? Login to view this solution.

 
 
Loading Advertisement...
20080723-EE-VQP-34 / EE_QW_2_20070628