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.

John Harris
Who is Participating?
ramazanyichConnect With a Mentor Commented:
check <Logger> confi elements in server.xml file of tomcat.
attributes  directory  and prefix on that element define location of log files.
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
remove Logger element
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.

All Courses

From novice to tech pro — start learning today.