How to set Seperate Error log file when using Multiple Web Applicationa
Hai all, I am Using Multiple Web Application in TOmcat 5.5. How to set the Seperate Error log file for each Web Application. Thanks for ever, inr - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: Error-Log file ?
The Unix command line allows for stderr redirection. I'm sure there's a command-line HOWTO somewhere that dishes out the details since I've since forgotten =/ - r > -Original Message- > From: Kenny Ma [mailto:[EMAIL PROTECTED]] > Sent: Sunday, August 19, 2001 11:49 PM > To: [EMAIL PROTECTED] > Subject: Error-Log file ? > > > I am using Tomcat 3.2.3/Redhat 7.1 > > I have a servlet program, the program line 1 is System.err.println("TEST") > > when i run the servlet, the output goes into console > > I want the err.println output to a file , what can I do ? > or how to config Tomcat ? > > ps. I checked /usr/local/tomcat/logs/ > It havent output to those files. > > /* Kenny Ma >[EMAIL PROTECTED] */ > >
Re: Error-Log file ?
On Mon, 20 Aug 2001, Kenny Ma wrote: > I have a servlet program, the program line 1 is System.err.println("TEST") you would be better off using log("TEST"); > when i run the servlet, the output goes into console stderr will... are you running linux or windows? afaik tomcat doesn't do anything to redirect the stdout/stderr streams. > I want the err.println output to a file , what can I do ? > or how to config Tomcat ? again... I'd advise using servlet.log at least, or preferably some logging packages like log4j (http://jakarta.apache.org/log4j). you might also want to change your server.xml so that tc_log goes to logs/tomcat.log if you haven't already. > ps. I checked /usr/local/tomcat/logs/ > It havent output to those files. servlet.log will go there (o: hth, cheesr dim > > /* Kenny Ma >[EMAIL PROTECTED] */ > >
Error-Log file ?
I am using Tomcat 3.2.3/Redhat 7.1 I have a servlet program, the program line 1 is System.err.println("TEST") when i run the servlet, the output goes into console I want the err.println output to a file , what can I do ? or how to config Tomcat ? ps. I checked /usr/local/tomcat/logs/ It havent output to those files. /* Kenny Ma [EMAIL PROTECTED] */
Error log file
Hi All, I am running tomcat servlet Enginee under Apache in Linux machine. Everything is running fine and now i am configured tomcat with Apache so that tomcat will be started automatically while boot time before Apache.. My problem is that earlier i used to run tomcat in ../bin/startup.sh in command prompt so that i will see all error log files in the command prompt itself where i am giving ../bin/startup.sh. Since i put my automatic script which is starting tomcat in /etc/rc.d/init.d/tomcatd then symbolic link /etc/rc.d/rc5.d/S19tomcatd, i could not see error-logs of tomcat...Can anybody tell where i will see error log files of tomcat.. Regards Venkatesh