SoftTree Technologies SoftTree Technologies
Technical Support Forums
RegisterSearchFAQMemberlistUsergroupsLog in
Size of Stat.log

 
Reply to topic    SoftTree Technologies Forum Index » 24x7 Scheduler, Event Server, Automation Suite View previous topic
View next topic
Size of Stat.log
Author Message
Robert



Joined: 07 Feb 2002
Posts: 30

Post Size of Stat.log Reply with quote

Hi,

I've noticed that the stat.log file grows and grows and grows, and I can't
find any setting that truncates this log to an amount, say, containing the
last 2 weeks of entries. The only thing I see in the Options settings is
the "Maximum number of entires in log" but I think that only has to deal with
the number of job entries in the log contained in memory (not in stat.log).

The problem with the the huge stat.log file is that when a 24x7
Remote Control cleint tries to connect, and this file is, for example,
100Meg, it takes forever to compress and transfer the file over the network
to the client. It looks as though the Remote Control software is hanging.

What are your ideas how to reduce it's size? Do I have to write my
own program to do this? If there is no configuration option to do this,
maybe this would be an easy addition in a subsequent version.

Robert

Thu Jul 22, 2004 10:09 am View user's profile Send private message
SysOp
Site Admin


Joined: 26 Nov 2006
Posts: 7969

Post Re: Size of Stat.log Reply with quote

This file is not truncated automatically. You can disable this option in Tools/Options menu (Log page; Debug section; Job Staistics Enabled option).
If you want to keep this option but periodically truncate this file you can create a maintenance job for that purpose. 24x7 provides several job templates for such maintanence jobs. To create a new job from template click File/New/Job From Template menu. Navigate to 24x7 Maintenance Jobs template folder and then click Archive Log Files template. Modify generated job script and add the following line at the end of the script

FileDelete "@V"24x7_home"\\stat.log"

Schedule this job to run as often as you want (for example, 1st day of every month)

: Hi,

: I've noticed that the stat.log file grows and grows and grows, and I can't
: find any setting that truncates this log to an amount, say, containing the
: last 2 weeks of entries. The only thing I see in the Options settings is
: the "Maximum number of entires in log" but I think that only has to
: deal with
: the number of job entries in the log contained in memory (not in stat.log).

: The problem with the the huge stat.log file is that when a 24x7
: Remote Control cleint tries to connect, and this file is, for example,
: 100Meg, it takes forever to compress and transfer the file over the network
: to the client. It looks as though the Remote Control software is hanging.

: What are your ideas how to reduce it's size? Do I have to write my
: own program to do this? If there is no configuration option to do this,
: maybe this would be an easy addition in a subsequent version.

: Robert

Thu Jul 22, 2004 10:35 am View user's profile Send private message
Display posts from previous:    
Reply to topic    SoftTree Technologies Forum Index » 24x7 Scheduler, Event Server, Automation Suite All times are GMT - 4 Hours
Page 1 of 1

 
Jump to: 
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


 

 

Powered by phpBB © 2001, 2005 phpBB Group
Design by Freestyle XL / Flowers Online.