| Author |
server log disappear from console
|
prakash pawar
Ranch Hand
Joined: Mar 11, 2010
Posts: 42
|
|
Hi All,
i am new tomcat sever(apache-tomcat-6.0.24). i have worked on WAS
in WAS we have log file of console by default. in same way in tomcat do we have local file where all the log of console get stored.
|
Regards,
Prakash Pawar.
|
 |
Jaikiran Pai
Marshal
Joined: Jul 20, 2005
Posts: 8212
|
|
You will find them in TOMCAT_HOME/logs folder.
|
[My Blog] [JavaRanch Journal]
|
 |
prakash pawar
Ranch Hand
Joined: Mar 11, 2010
Posts: 42
|
|
Thanks for quick reply Jaikiran
i navigate TOMCAT_HOME/logs but there is no log
|
 |
Tim Holloway
Saloon Keeper
Joined: Jun 25, 2001
Posts: 14572
|
|
|
In most Tomcat configurations, the console output goes to TOMCAT_HOME/logs/catalina.out.
|
Customer surveys are for companies who didn't pay proper attention to begin with.
|
 |
prakash pawar
Ranch Hand
Joined: Mar 11, 2010
Posts: 42
|
|
Hi Tim
There is no catalina.out file my log folder.
can we configure it explicitly ???
|
 |
Tim Holloway
Saloon Keeper
Joined: Jun 25, 2001
Posts: 14572
|
|
prakash pawar wrote:Hi Tim
There is no catalina.out file my log folder.
can we configure it explicitly ???
I don't know enough about the platform you're running on. What OS? Which Tomcat download?
|
 |
prakash pawar
Ranch Hand
Joined: Mar 11, 2010
Posts: 42
|
|
hi
OS is WindowsXp
Tomcat is apache-tomcat-6.0.24
|
 |
Tim Holloway
Saloon Keeper
Joined: Jun 25, 2001
Posts: 14572
|
|
|
I was afraid of that. You're probably running Tomcat as a Windows Service. Mostly I run Tomcat on Linux, and on the rare occasions I do run it on Windows, I'm manually operating it from the command line, so I never studied up on how it hooks into the Service Manager.
|
 |
Jaikiran Pai
Marshal
Joined: Jul 20, 2005
Posts: 8212
|
|
Prakash, they seem to have a FAQ for this one Where are the logs when running Tomcat as a Windows service?
|
 |
 |
|
|
subject: server log disappear from console
|
|
|