The logging is turned on by default and configured in the WEB-INF/logkit.xconf file.
I guess you have cocoon 2.0.2 installed? If so, have a look if you have this section at the end of the file: <categories> <!-- log-level: One of DEBUG, INFO, WARN, ERROR, FATAL_ERROR. --> <category name="core" log-level="DEBUG"> <category name="startup" log-level="DEBUG"/> <category name="roles" log-level="DEBUG"/> <category name="manager" log-level="DEBUG"/> <category name="store" log-level="DEBUG"/> .... Remove the last for lines as they are wrong. Short Explanation: The logkit uses categories to log in. Unless otherwise specified each component logs into the category "core.manager". With the line from above "<category name="manager" log-level="DEBUG"/>", this category ("core.manager") is specified to log nowhere. By removing this line the category is logged into the logs again. HTH Carsten Carsten Ziegeler S&N AG, Germany - Open Source Group ================================================================== mailto:[EMAIL PROTECTED] http://www.s-und-n.de ================================================================== The Cocoon Book: http://www.amazon.com/exec/obidos/ASIN/0735712352/apachecocoona-20 > -----Original Message----- > From: Andrew Timberlake [mailto:[EMAIL PROTECTED]] > Sent: Friday, May 10, 2002 9:33 AM > To: [EMAIL PROTECTED] > Subject: NEWBIE: Logging? > > > Please could someone help me with this, seemingly, obvious question. > > I am writing an action for cocoon 2 which extends AbstractLogger > indirectly through extending other cocoon classes. > > I am then calling getLogger.debug("debug text here"); > > No debug info is appearing in any of the log files within > cocoon/WEB-INF/logs > I have used the binary download as is. > Do I need to initialise the logging somewhere somehow. > > I have looked around on the mailing list archives and I've been to the > LogKit site but have had no joy. > The only logging framework I've used is Log4j > > TIA > > Andrew > > > --------------------------------------------------------------------- > Please check that your question has not already been answered in the > FAQ before posting. <http://xml.apache.org/cocoon/faqs.html> > > To unsubscribe, e-mail: <[EMAIL PROTECTED]> > For additional commands, e-mail: <[EMAIL PROTECTED]> > --------------------------------------------------------------------- Please check that your question has not already been answered in the FAQ before posting. <http://xml.apache.org/cocoon/faqs.html> To unsubscribe, e-mail: <[EMAIL PROTECTED]> For additional commands, e-mail: <[EMAIL PROTECTED]>