Re: Parameters and where is log

2004-06-16 Thread Asim Ghosh
hello, this is reply to your second query. U have to use Logger tag in server.xml and in code ServletContext context; context.log(); Asim Ghosh Gabi [EMAIL PROTECTED] wrote: Trying to pass from resin to apache, in resin Coonection='jdbc:bla bla...'/ I've put the equivalent in

RE: Parameters and where is log

2004-06-16 Thread Gabi
I've put the context with his own Logger, I can see all the info of this host here, and in the JavaBean code I've put ServletContext context; context=session.getServletContext(); context.log(test message!!!); But I don't see this message in the log. And, there is a global way I can

RE: Parameters and where is log

2004-06-16 Thread Asim Ghosh
http://jakarta.apache.org/tomcat/faq/misc.html#catalina.out Where does System.out go? How do I rotate catalina.out? Gabi [EMAIL PROTECTED] wrote:I've put the context with his own Logger, I can see all the info of this host here, and in the JavaBean code I've put ServletContext context;

RE: Parameters and where is log

2004-06-16 Thread Gabi
That's what I've done, I've created a Context path=... docBase=... Logger className=org.apache.catalina.logger.FileLogger prefix=web_log. suffix=.txt timestamp=true/ I see all the webapp output in web_log file, but not the message from the applicacion, where I use the lines: ServletContext

RE: Parameters and where is log

2004-06-16 Thread Shapira, Yoav
: Parameters and where is log That's what I've done, I've created a Context path=... docBase=... Logger className=org.apache.catalina.logger.FileLogger prefix=web_log. suffix=.txt timestamp=true/ I see all the webapp output in web_log file, but not the message from the applicacion, where I use

RE: Parameters and where is log

2004-06-16 Thread Jérôme Duval
Don't know if this will be of any use to you, but if you are using Tomcat 5.0.24, you can define where System.out and System.err are redirected by Configuring Tomcat under the Logging tab. - To unsubscribe, e-mail: [EMAIL

RE: Parameters and where is log

2004-06-16 Thread Gabi
With the first solution commented: ServletContext context; context=session.getServletContext(); context.log(test message!!!); I can`t read anything but it's solved, because if i try the original System.out and .err it outputs in catalina.out. Thanks to everubody. Now I've to configure parameters