Cisco Support Community
cancel
Showing results for 
Search instead for 
Did you mean: 
Announcements

Attention: The Community will be in read-only mode on 12/14/2017 from 12:00 am pacific to 11:30 am.

During this time you will only be able to see content. Other interactions such as posting, replying to questions, or marking content as helpful will be disabled for few hours.

We apologize for the inconvenience while we perform important updates to the Community.

New Member

stdout.log file

My stdout.log file grows quite quickly (it's currently around 45MB and growing), however, because it's constantly in use it doesn't get rotated by my logrot process (I'm using LM3.2 on Windows 2003 Server).

Is there a reason why this file grows quite quickly and is there a way to rotate it without stopping the Daemons, renaming the file, and then restarting the Daemons??

If not, is there a maximum file I can let this file grow to without having to clear it?

5 REPLIES
Cisco Employee

Re: stdout.log file

What is being written to stdout.log?  This file will grow, but it shouldn't grow explosively.  It cannot, however, be rotated while Daemon Manage is running.  You will need to run logrot in offline mode to properly rotate the file.

New Member

Re: stdout.log file

Thanks Joe...

I stopped the Daemons and rotated the file on 23/12/09. The file is currently in excess of 75MB!!!

I've attached the last couple of hundred lines of the log to see if that gives you any clues as I'm perplexed by this.

Could there be a debug mode enabled somewhere in LMS?? I'm not sure which debug mode would write to the stdout.log file.

As usual, any help greatfully received.

Cisco Employee

Re: stdout.log file

All of this is normal.  It's not unusual for a server to see a stdout.log > 100 MB.  Seeing it greater than 1 GB would be bad.

New Member

Re: stdout.log file

Thanks Joe..

I'll leave it as is and try not to worry about it..

I'll make a mental note to manually rotate it each time I stop/restart the daemons...

Cisco Employee

Re: stdout.log file

You don't have to worry about that.  Every time Tomcat restarts it rotates the stdout.log.  That is, you should see stdout.log-OLD-X.  Each of these can simply be deleted, compressed, moved, etc.  They are not in use.  The stdout.log will always contain the messages from the current execution of Tomcat.

748
Views
5
Helpful
5
Replies
CreatePlease to create content