One of the sample Meta-Update scripts sets the log files.  

That could easily be adapted to do a gzip or zip as well.  It could also 
generate the next log file name using any convention you like and even ftp or 
send it by email.  

It can be invoked through cron, or at (Windows) at intervals or trough s batch 
file or shell script that monitors the size of the current log file.

To view that script, go to Products, Meta-Update, then Script Library.  It's 
the log switching script.

Cheers

Ben Chernys

Senior Software Architect
Software Tool House Inc.

Canada / Deutschland / Germany
Mobile:      +49 171 380 2329    GMT + 1 + [ DST ]
Email:       Ben.Chernys _AT_ softwaretoolhouse.com
Web:         www.softwaretoolhouse.com

Check out Software Tool House's free Diary Editor.

Meta-Update, our premium ARS Data tool, lets you automate 
your imports, migrations, in no time at all, without programming, 
without staging forms, without merge workflow. 
http://www.softwaretoolhouse.com/  



-----Original Message-----
From: Action Request System discussion list(ARSList) 
[mailto:arslist@ARSLIST.ORG] On Behalf Of Misi Mladoniczky
Sent: January-31-12 11:53
To: arslist@ARSLIST.ORG
Subject: Re: Logging

Hi,

I once wrote a (unix) script that turned of the log, rotated the file, and 
turned it on again. The file was stored with the name userYYYYMM.log.

The newest version 7.6.04 is supposed to allow you to truncate a log file 
without turning it of first. I have not tested it though. This would simplify 
rotating the log file significantly.

This kind of size for a single month seems excessive. I have seen this only 
when you have some kind of integration logging in and out very frequently...

        Best Regards - Misi, RRR AB, http://www.rrr.se (ARSList MVP 2011)

Products from RRR Scandinavia (Best R.O.I. Award at WWRUG10/11):
* RRR|License - Not enough Remedy licenses? Save money by optimizing.
* RRR|Log - Performance issues or elusive bugs? Analyze your Remedy logs.
Find these products, and many free tools and utilities, at http://rrr.se.

> Hi listers,
>
> We need to continually log the use of licenses, in this direction we 
> want to log the user.log file continuously. But to decrease the use of 
> hard drive this log will have (of several gigabytes at each month) we 
> want to compress the logs. One option would be to create 2 GB files, 
> and to compress them when complete.
>
> What I want is to obtain something simmilar to user.001.log, 
> user.002.log, .... and user.log that is the file that is currently using the 
> server.
>
> Are there any way to achieve it?
>
> Regards,
>
>
>
> Jose Huerta
>
> http://theremedyforit.com/
>
> ______________________________________________________________________
> _________ UNSUBSCRIBE or access ARSlist Archives at www.arslist.org 
> attend wwrug12 www.wwrug12.com ARSList: "Where the Answers Are"
>

_______________________________________________________________________________
UNSUBSCRIBE or access ARSlist Archives at www.arslist.org attend wwrug12 
www.wwrug12.com ARSList: "Where the Answers Are"

_______________________________________________________________________________
UNSUBSCRIBE or access ARSlist Archives at www.arslist.org
attend wwrug12 www.wwrug12.com ARSList: "Where the Answers Are"

Reply via email to