You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tomcat.apache.org by ohaya <oh...@cox.net> on 2004/08/23 08:36:13 UTC
Where are Tomcat logs when run as service?
Hi,
Up until tonight, I've been running standalone Tomcat as an executable.
But, I installed Tomcat on another machine, this time, installing it as
a service. I can't find anywhere where Tomcat on this new machine logs
the messages like you seen in the DOS window when you run Tomcat as an
executable.
I've checked in my .\logs directory, and watched the localhost...txt
file, but I don't seen anthing much there?
Can someone tell me where Tomcat is logging to?
Thanks,
Jim
---------------------------------------------------------------------
To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tomcat-user-help@jakarta.apache.org
Re: Where are Tomcat logs when run as service?
Posted by Eric YH WONG <er...@rightmedic.com>.
Try to see /logs/stdout.log
----- Original Message -----
From: "ohaya" <oh...@cox.net>
To: "Tomcat Users List" <to...@jakarta.apache.org>
Sent: Monday, August 23, 2004 2:36 PM
Subject: Where are Tomcat logs when run as service?
> Hi,
>
> Up until tonight, I've been running standalone Tomcat as an executable.
> But, I installed Tomcat on another machine, this time, installing it as
> a service. I can't find anywhere where Tomcat on this new machine logs
> the messages like you seen in the DOS window when you run Tomcat as an
> executable.
>
> I've checked in my .\logs directory, and watched the localhost...txt
> file, but I don't seen anthing much there?
>
> Can someone tell me where Tomcat is logging to?
>
> Thanks,
> Jim
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org
> For additional commands, e-mail: tomcat-user-help@jakarta.apache.org
>
>
>
---------------------------------------------------------------------
To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tomcat-user-help@jakarta.apache.org
RE: Where are Tomcat logs when run as service?
Posted by Joseph Samuel <jo...@atinav.com>.
The logs are present in the 'logs' directory of your tomcat installation. It
is stored in the file 'stdout.log' These log files are cleared each time you
restart Tomcat.
Jo
-----Original Message-----
From: ohaya [mailto:ohaya@cox.net]
Sent: Monday, August 23, 2004 12:06 PM
To: Tomcat Users List
Subject: Where are Tomcat logs when run as service?
Hi,
Up until tonight, I've been running standalone Tomcat as an executable.
But, I installed Tomcat on another machine, this time, installing it as
a service. I can't find anywhere where Tomcat on this new machine logs
the messages like you seen in the DOS window when you run Tomcat as an
executable.
I've checked in my .\logs directory, and watched the localhost...txt
file, but I don't seen anthing much there?
Can someone tell me where Tomcat is logging to?
Thanks,
Jim
---------------------------------------------------------------------
To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tomcat-user-help@jakarta.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tomcat-user-help@jakarta.apache.org
Re: Where are Tomcat logs when run as service?
Posted by ohaya <oh...@cox.net>.
Shakeel wrote:
>
> Hi, thats good that you started this as a service, we just done same with
> our application, and may be our discussion help each other.
>
> Here is exact information about logs of Tomcat when running as a service.
> 1- All System.out.print go to $:\Tomcat4.1\logs\stdout.log
> 2- All System.err.print go to $:\Tomcat4.1\logs\stderr.log
> 3- All other loggers like Log4j etc go to there respective streams.
>
> Now if you want to see the live logs exactly like Tomcat running as a stand
> alone server you will install cygwin and use folllowing command.
> tail -f c:/Tomcat4.1/logs/stdout.log
>
> etc.
>
> I wish we could communicate as we also have some unresolved issues like
> printing from POS terminals, which are under R&D.
> Also keep in mind that as a service JVM is picking JAVA_OPTS or not. Or you
> will have to edit some registry values.
>
Hi Joseph, Eric, and Shakeel,
Thanks! I missed those files, as I've been working with the .EXE for
awhile, and didn't notice them there after I installed the service on
the new machine :(. Things seem to be working ok now.
Thanks,
Jim
---------------------------------------------------------------------
To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tomcat-user-help@jakarta.apache.org
RE: Where are Tomcat logs when run as service?
Posted by Shakeel <sh...@globalnorthstar.com>.
Hi, thats good that you started this as a service, we just done same with
our application, and may be our discussion help each other.
Here is exact information about logs of Tomcat when running as a service.
1- All System.out.print go to $:\Tomcat4.1\logs\stdout.log
2- All System.err.print go to $:\Tomcat4.1\logs\stderr.log
3- All other loggers like Log4j etc go to there respective streams.
Now if you want to see the live logs exactly like Tomcat running as a stand
alone server you will install cygwin and use folllowing command.
tail -f c:/Tomcat4.1/logs/stdout.log
etc.
I wish we could communicate as we also have some unresolved issues like
printing from POS terminals, which are under R&D.
Also keep in mind that as a service JVM is picking JAVA_OPTS or not. Or you
will have to edit some registry values.
S H A K E E L A H M A D
(EE, SCJP, SCWCD & SCBCD)
Northstar Technologies, Inc.
-----Original Message-----
From: ohaya [mailto:ohaya@cox.net]
Sent: Monday, August 23, 2004 11:36 AM
To: Tomcat Users List
Subject: Where are Tomcat logs when run as service?
Hi,
Up until tonight, I've been running standalone Tomcat as an executable.
But, I installed Tomcat on another machine, this time, installing it as
a service. I can't find anywhere where Tomcat on this new machine logs
the messages like you seen in the DOS window when you run Tomcat as an
executable.
I've checked in my .\logs directory, and watched the localhost...txt
file, but I don't seen anthing much there?
Can someone tell me where Tomcat is logging to?
Thanks,
Jim
---------------------------------------------------------------------
To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tomcat-user-help@jakarta.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tomcat-user-help@jakarta.apache.org