Solved

Changing the location of Tomcat log files

Posted on 2004-09-07
3
2,619 Views
Last Modified: 2008-01-09
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
Comment
Question by:jdharris5954
  • 2
3 Comments
 
LVL 19

Accepted Solution

by:
ramazanyich earned 500 total points
ID: 12001466
check <Logger> confi elements in server.xml file of tomcat.
attributes  directory  and prefix on that element define location of log files.
0
 

Author Comment

by:jdharris5954
ID: 12009004
Thank you so much for your response.

This worked!

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

John Harris
0
 
LVL 19

Expert Comment

by:ramazanyich
ID: 12009043
remove Logger element
0

Featured Post

Windows Server 2016: All you need to know

Learn about Hyper-V features that increase functionality and usability of Microsoft Windows Server 2016. Also, throughout this eBook, you’ll find some basic PowerShell examples that will help you leverage the scripts in your environments!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
Weblogic monitoring on linux or java, any tool? 9 321
Java question 2 177
can intune do all these? 1 85
jboss wildfly 10.1 10 80
Convert websphere application server default chained Certificates from 1024 to 2048 keysize or higher size and also you can change signatureAlgorithm . Please make sure Websphere Application Server fixpack 7.0.0.23 or Above. The following steps a…
Meet the world's only “Transparent Cloud™” from Superb Internet Corporation. Now, you can experience firsthand a cloud platform that consistently outperforms Amazon Web Services (AWS), IBM’s Softlayer, and Microsoft’s Azure when it comes to CPU and …
This Micro Tutorial will teach you how to censor certain areas of your screen. The example in this video will show a little boy's face being blurred. This will be demonstrated using Adobe Premiere Pro CS6.
This Micro Tutorial hows how you can integrate  Mac OSX to a Windows Active Directory Domain. Apple has made it easy to allow users to bind their macs to a windows domain with relative ease. The following video show how to bind OSX Mavericks to …

785 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question