Re: [J2] Logging in portlets

2005-03-18 Thread Martin Dulisch
Thanks for your answer Thomas,
I have some additional questions:
- do you have a seperate log4j.properties file in web-inf/classes of 
your portlet or is it the file from jetspeed/conf

- are you using log4j logger in your class or commons-logging
Thanks, Martin

[EMAIL PROTECTED] wrote:
hi !
my logging with log4j and tomcat 5.0.28 and cvs-version from 2.5 weeks 
works fine.
the property is in webinf/classes and the log is on desktop, because i'am 
starting tomcat from this point.

thomas

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


[J2] Logging in portlets

2005-03-17 Thread Martin Dulisch
Hello,
what is the recommendet way for logging in portlets?
I added a new category and file appender to the log4j.properties in 
(jetspeed-webapp-dir)/WEB-INF/conf. The log file is created but it is 
empty. The level is set to debug. I noticed that the logfiles from the 
example portlets are also empty (e.g. sutruts).

How can I use logging in my portlet? Does jetspeed 2 use log4j?
I am using the current cvs version with tomcat 5.0.30.
Thanks, Martin
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


Re: [J2] Logging in portlets

2005-03-17 Thread Thomas . Koch
hi !
my logging with log4j and tomcat 5.0.28 and cvs-version from 2.5 weeks 
works fine.
the property is in webinf/classes and the log is on desktop, because i'am 
starting tomcat from this point.

thomas