File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
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
JavaRanch » Java Forums » Products » Tomcat
Bookmark "I hate RotateLogs" Watch "I hate RotateLogs" New topic

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

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:

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.

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

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: 15083

A short search for "RotateLogs.exe" on Google returned this:

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:

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
I agree. Here's the link:
subject: I hate RotateLogs
It's not a secret anymore!