aspose file tools*
The moose likes Tomcat and the fly likes I hate RotateLogs Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Spring in Action this week in the Spring forum!
JavaRanch » Java Forums » Products » Tomcat
Bookmark "I hate RotateLogs" Watch "I hate RotateLogs" New topic
Author

I hate RotateLogs

Rushikesh Wagh
Ranch Hand

Joined: Jun 18, 2005
Posts: 58
Can any one tell me about RotateLogs.exe. What exactly it do?
As name suggest, one can guess that it is utility program and works to rotate Log files. But, I can see more than 60 process running. each of around 1.5 MB.

I think this is stupidity. As its production server I can not restart

Can any one help me for the same??? any alternate solutions ???


Best Regards,
Rushikesh Wagh
SCJP 1.4 (2005)
SCJP 1.6 (2010)
Ben Souther
Sheriff

Joined: Dec 11, 2004
Posts: 13410

In an effort to help you get the most from our forums, we've compiled a
list of tips for asking questions here. You can find the list in our
FAQ section here.
In particular please see:
UseAMeaningfulSubjectLine

Telling us what you hate is not a very meaningful subject line.
What version of Tomcat are you using?
What operating system are you using?

Depending on your OS, ps or top may display each Java thread as a separate process. If this is what's going on with your system, then all those threads are sharing the same 1.5 megs.

Again, welcome to JavaRanch and good luck with your question.
-Ben


Java API J2EE API Servlet Spec JSP Spec How to ask a question... Simple Servlet Examples jsonf
Rushikesh Wagh
Ranch Hand

Joined: Jun 18, 2005
Posts: 58
What's in a name? That which we call a rose by any other name would smell as sweet.

Any Way Thanks Ben for the guidance provided for Java Ranch Question Posting.

Still I didnt find Solution.
Ben Souther
Sheriff

Joined: Dec 11, 2004
Posts: 13410

I use log4j.
It works quite well.
Jesper de Jong
Java Cowboy
Saloon Keeper

Joined: Aug 16, 2005
Posts: 14272
    
  21

A short search for "RotateLogs.exe" on Google returned this:
http://forums.digitalpoint.com/showthread.php?t=43493

It appears to be a buggy thing in Apache HTTP Server. Do some more searching and you'll most likely find more useful info.

See also this page in the Apache HTTPD docs:
http://httpd.apache.org/docs/2.0/programs/rotatelogs.html

You can probably easily switch it off in the Apache HTTPD config files if it bothers you.
[ August 14, 2007: Message edited by: Jesper Young ]

Java Beginners FAQ - JavaRanch SCJP FAQ - The Java Tutorial - Java SE 8 API documentation
 
wood burning stoves
 
subject: I hate RotateLogs