tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jason Pell <Jason.P...@dssonline.com.au>
Subject Re: log files in tomcat
Date Thu, 01 Feb 2001 01:22:44 GMT
Perhaps we should take this as a suggested improvement to tomcat:

If they are present, then redirect System.out and System.err to these logfiles.

"Garmaev, Vladimir A" wrote:

> There should be two more logs:
>
> jvm.stderr
> jvm.stdout
>
> The latter is logging System.out.println


CPC Livelink Admin wrote:

> Actually, these are files that are generated by the jk_nt_service helper
> application, not entries in tomcat.
>
> If you want to capture the output of tomcat, you need to either a) redirect
> the output to a file (on Unix you also need to redirect stderr, on Windows
> stdout and stderr are much the same (I think)) or b) programatically change
> the stream pointed to by System.out and .err to something else which you
> have opened.
>
> -----Original Message-----
> From: Jason Pell [mailto:Jason.Pell@dssonline.com.au]
> Sent: Wednesday, January 31, 2001 8:09 PM
> To: tomcat-user@jakarta.apache.org
> Subject: Re: log files in tomcat
>
> I have also had problems with this.
>
> As suggested I tried adding jvm.stderr and jvm.stdout logs to server.xml:
>
> ----------------------------------------- server.xml fragment
> -------------------------------
> <Logger name="jvm.stderr"
>             verbosityLevel = "DEBUG"
>             path="logs/stderr.log"
>     />
>
>     <Logger name="jvm.stdout"
>             verbosityLevel = "DEBUG"
>             path="logs/stdout.log"
>     />
> ----------------------------------------- server.xml fragment
> -------------------------------
>
> But no joy I am afraid.  Is this the correct config info.
>
> I am running Tomcat 3.2.1 on Redhat 6.2
>
> Thanks
> Jason
>
> "Garmaev, Vladimir A" wrote:
>
> > There should be two more logs:
> >
> > jvm.stderr
> > jvm.stdout
> >
> > The latter is logging System.out.println
> >
> > -----Original Message-----
> > From: Ross Manges [mailto:rdawggg@yahoo.com]
> > Sent: Wednesday, January 31, 2001 1:44 PM
> > To: tomcat-user@jakarta.apache.org
> > Subject: log files in tomcat
> >
> > Hello folks,
> >
> > I apologize in advance for this dumb question, but I'm
> > having an exteremly difficult time getting tomcat to
> > create a log file containing the event traces (and
> > possibly System.out.println()'s?) from my servlets.
> > I've read up on the available faq's and other
> > documentation, which directs me to the server.xml
> > file.  I've set that file to maximum debugging mode,
> > but still no luck.  I get two files in my /log
> > directory: jasper.log and servlet.log.  The latter
> > contains nearly nothing, and jasper.log simply reports
> > on my jsp files.
> >
> > Can somebody PLEASE point me in the right direction?
> > If I've missed some important set of documentation
> > please let me know.
> >
> > Thanks!
> >
> > --Ross
> >
> > p.s. - I'm running tomcat 3.2.1 standalone on WinMe,
> > PIII-700, 128mb ram.
> >
> > __________________________________________________
> > Get personalized email addresses from Yahoo! Mail - only $35
> > a year!  http://personal.mail.yahoo.com/
> >
> > ---------------------------------------------------------------------
> > To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org
> > For additional commands, email: tomcat-user-help@jakarta.apache.org
> >
> > ---------------------------------------------------------------------
> > To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org
> > For additional commands, email: tomcat-user-help@jakarta.apache.org
>
> --
> Jason Pell
> Senior Analyst/Programmer - Web Developer
> Deakin Software Services Pty Ltd
> 12 Gheringhap St, Geelong Victoria 3220 Australia
> Phone: 03 5227 8858 International: +61 3 5227 8858
> Fax: 03 5227 8907 International: +61 3 5227 8907
> E-mail Jason.Pell@dssonline.com.au
> http://www.dssonline.com.au
> Customer Support Hotline: 1800 620 497
>
> "Callista - the brightest solution in university management"
>
> ---------------------------------------------------------------
> Important Notice: The contents of this email transmission,
> including attachments, may be privileged and confidential.
> Any unauthorised use of the contents is expressly prohibited.
> If you have received this transmission in error, please advise
> the sender by return email or telephone immediately and
> destroy all versions.
> ---------------------------------------------------------------
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org
> For additional commands, email: tomcat-user-help@jakarta.apache.org
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org
> For additional commands, email: tomcat-user-help@jakarta.apache.org

--
Jason Pell
Senior Analyst/Programmer - Web Developer
Deakin Software Services Pty Ltd
12 Gheringhap St, Geelong Victoria 3220 Australia
Phone: 03 5227 8858 International: +61 3 5227 8858
Fax: 03 5227 8907 International: +61 3 5227 8907
E-mail Jason.Pell@dssonline.com.au
http://www.dssonline.com.au
Customer Support Hotline: 1800 620 497

"Callista - the brightest solution in university management"

---------------------------------------------------------------
Important Notice: The contents of this email transmission,
including attachments, may be privileged and confidential.
Any unauthorised use of the contents is expressly prohibited.
If you have received this transmission in error, please advise
the sender by return email or telephone immediately and
destroy all versions.
---------------------------------------------------------------



Mime
View raw message