• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 2652
  • 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

Featured Post

Free Backup Tool for VMware and Hyper-V

Restore full virtual machine or individual guest files from 19 common file systems directly from the backup file. Schedule VM backups with PowerShell scripts. Set desired time, lean back and let the script to notify you via email upon completion.  

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