*
The moose likes Tomcat and the fly likes server log disappear from console Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Murach's Java Servlets and JSP this week in the Servlets forum!
JavaRanch » Java Forums » Products » Tomcat
Bookmark "server log disappear from console " Watch "server log disappear from console " New topic
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: 9924
    
158

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: 15951
    
  19

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: 15951
    
  19

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: 15951
    
  19

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: 9924
    
158

Prakash, they seem to have a FAQ for this one Where are the logs when running Tomcat as a Windows service?
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: server log disappear from console
 
Similar Threads
Eclipse / MyEclipse - Logging console output ?
How to setup Tomcat Server log
How to cionfigure Tomcat Server Log
Tomcat5.0
Tomcat, @WebFault logging