?
Solved

Changing the location of Tomcat log files

Posted on 2004-09-07
3
Medium Priority
?
2,644 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 2
3 Comments
 
LVL 19

Accepted Solution

by:
ramazanyich earned 2000 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

Create the perfect environment for any meeting

You might have a modern environment with all sorts of high-tech equipment, but what makes it worthwhile is how you seamlessly bring together the presentation with audio, video and lighting. The ATEN Control System provides integrated control and system automation.

Question has a verified solution.

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

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 …
ADCs have gained traction within the last decade, largely due to increased demand for legacy load balancing appliances to handle more advanced application delivery requirements and improve application performance.
Michael from AdRem Software outlines event notifications and Automatic Corrective Actions in network monitoring. Automatic Corrective Actions are scripts, which can automatically run upon discovery of a certain undesirable condition in your network.…
This tutorial will teach you the special effect of super speed similar to the fictional character Wally West aka "The Flash" After Shake : http://www.videocopilot.net/presets/after_shake/ All lightning effects with instructions : http://www.mediaf…
Suggested Courses

777 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