jakarta-cactus-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Vincent Massol" <vmas...@octo.com>
Subject RE: cactus_client.log not being created
Date Fri, 31 Jan 2003 21:14:10 GMT
Hum... hard to answer...

Are you running Cactus tests from Ant? If so, I would suggest looking
again at the sample application (which should produce client and server
log files - although empty as the severity level is on WARN) and work
from there.

Not sure I'm of much help... ;-)

-Vincent

> -----Original Message-----
> From: Mark [mailto:markd@bellsouth.net]
> Sent: 14 January 2003 20:11
> To: cactus-user@jakarta.apache.org
> Subject: cactus_client.log not being created
> 
> I can't figure out why my cactus_client.log file isn't being generated
any
> more. It used to get created, but I've been doing a lot of different
> Ant/Cactus configurations so obviously something changed and/or
keeping it
> from being created but for the life of me I can't figure out what.
> Everything else is with Ant/Cactus/JUnit is working fine.  No doubt
> something simple but I'm not seeing it.
> 
> Anyone have an idea?  I've verified my log4j.properties file (and all
> necessary jars including log4j-1.2.5.jar) is in the classpath both,
and
> it's nearly identical to the 'howto' docs with DEBUG level defined for
the
> cactus logging:
> 
> # Properties for configuring Log4j
> # This is the configuring for logging on the JUnit side (i.e. the
client
> side)
> log4j.appender.cactus = org.apache.log4j.FileAppender
> log4j.appender.cactus.File = cactus_client.log
> log4j.appender.cactus.Append = false
> log4j.appender.cactus.layout = org.apache.log4j.PatternLayout
> log4j.appender.cactus.layout.ConversionPattern = %d{ABSOLUTE} [%t]
%-5p
> %-30.30c{2} %x - %m %n
> 
> # Any application log which uses Log4J will be logged to the Cactus
log
> file
> log4j.rootCategory=DEBUG, cactus
> 
> # By default we don't log at the DEBUG level for Cactus log, in order
not
> to generate too
> # many logs. However, should a problem arise and logs need to be sent
to
> the Cactus dev team,
> # then we will ask you to change this to DEBUG.
> log4j.category.org.apache.cactus = WARN, cactus
> log4j.additivity.org.apache.cactus=false
> 
> 
> --
> To unsubscribe, e-mail:   <mailto:cactus-user-
> unsubscribe@jakarta.apache.org>
> For additional commands, e-mail: <mailto:cactus-user-
> help@jakarta.apache.org>



Mime
View raw message