• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

server log disappear from console

 
prakash pawar
Ranch Hand
Posts: 42
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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.
 
Jaikiran Pai
Marshal
Pie
Posts: 10444
227
IntelliJ IDE Ubuntu
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
You will find them in TOMCAT_HOME/logs folder.
 
prakash pawar
Ranch Hand
Posts: 42
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Thanks for quick reply Jaikiran

i navigate TOMCAT_HOME/logs but there is no log

 
Tim Holloway
Saloon Keeper
Pie
Posts: 17989
47
Android Eclipse IDE Linux
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
In most Tomcat configurations, the console output goes to TOMCAT_HOME/logs/catalina.out.
 
prakash pawar
Ranch Hand
Posts: 42
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi Tim

There is no catalina.out file my log folder.
can we configure it explicitly ???
 
Tim Holloway
Saloon Keeper
Pie
Posts: 17989
47
Android Eclipse IDE Linux
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 42
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
hi

OS is WindowsXp
Tomcat is apache-tomcat-6.0.24
 
Tim Holloway
Saloon Keeper
Pie
Posts: 17989
47
Android Eclipse IDE Linux
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Pie
Posts: 10444
227
IntelliJ IDE Ubuntu
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Prakash, they seem to have a FAQ for this one Where are the logs when running Tomcat as a Windows service?
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic