The logging config is in
cocoon/WEB-INF/logger.xconf
There you define the loggers. In the sitemap you can assign such a logger to a component;
they tend to log to cocoon/WEB-INF/logs/*


If they don't log there, it's probably tomcat/logs/localhost-*.log (or .txt). Otherwise
it's tomcat/logs/catalina.out.


I can't help you more as I have never got it to work the way I wanted to. Somhow my
config logs it all to tomcat/logs/localhost*.txt and that suits me fine enough:)


Leon

tefan Geelen wrote:

Hi Anna,

I have exactly the same problem.

Did you in the mean time figure out where it is written to ?

Stefan
----- Original Message ----- From: "Anna Bikkina" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Wednesday, April 14, 2004 9:40 PM
Subject: Logging in cocoon





Hi all,

I am using the following statement to get logger in cocoon and loggin


messages


in java and jsp classes
Logger logger=Hierarchy.getDefaultHierarchy().getLoggerFor("myproj");
getLogger.debug("message1");

It works fine but I cant see any file with the log information in my


project


directory. How and where should I specify login file details.

Any help would be appreciated.

Thanks,
Anna.




--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]





--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]





---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Reply via email to