• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 2664
  • Last Modified:

Changing the location of Tomcat log files

Can anyone help me figure out exactly how to redirect the files that Tomcat generates in the ~/logs directory to another drive/directory?  Tomcat was by default installed on the c drive of my server by third party software, and the locations of all apache/tomcat "stuff" are referenced by this software (a corba orb implementation), so I'm hesitant about relocating all of Apache/Tomcat.  I'm fairly new to this type of infrastructure, so any help would be much appreciated.

Thanks
John Harris
 
0
jdharris5954
Asked:
jdharris5954
  • 2
1 Solution
 
ramazanyichCommented:
check <Logger> confi elements in server.xml file of tomcat.
attributes  directory  and prefix on that element define location of log files.
0
 
jdharris5954Author Commented:
Thank you so much for your response.

This worked!

BTW:  Do you know of a way to turn off logging completely?

John Harris
0
 
ramazanyichCommented:
remove Logger element
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

Join & Write a Comment

Featured Post

KuppingerCole Reviews AlgoSec in Executive Report

Leading analyst firm, KuppingerCole reviews AlgoSec's Security Policy Management Solution, and the security challenges faced by companies today in their Executive View report.

  • 2
Tackle projects and never again get stuck behind a technical roadblock.
Join Now