Joe, See http://jakarta.apache.org/cactus/howto_config.html.
What happens is that in Cactus 1.2, only the category for org.apache.cactus.* is defined. Thus you need to add your own category or a root category to see any log. In Cactus 1.3 (available through nightly builds for the moment), we have modified the default so that a root category is defined with a DEBUG priority mode and the Cactus category with a WARN priority as follows : log4j.rootCategory=DEBUG, cactus log4j.category.org.apache.cactus = WARN, cactus log4j.additivity.org.apache.cactus=false Thanks -Vincent > -----Original Message----- > From: joe black [mailto:[EMAIL PROTECTED]] > Sent: 02 March 2002 07:22 > To: [EMAIL PROTECTED] > Subject: where to configure "logger"? > > hi, I tried to log some information in testXXX() in my test cases by > calling "logger.info(...)", but nothing happened. where to configure this > logger? > when I use ant to test my servlets, it works, but error message shows in > console that some log4j are not initialized correctly, still the quesion: > where to configure it? which properties file? > > thanx a lot > > > > JoelGet more from the Web. FREE MSN Explorer download : > http://explorer.msn.com -- To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>
