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:[EMAIL PROTECTED]] > Sent: 14 January 2003 20:11 > To: [EMAIL PROTECTED] > 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- > [EMAIL PROTECTED]> > For additional commands, e-mail: <mailto:cactus-user- > [EMAIL PROTECTED]> --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
