The concept of daemon is to make sure that the log files are not missed and moreover the system admin doesn't have to sit down and keep monitoring log-file size and zip them if it exceeds a particular size.
On zipping them and storing them we would probably let analog do Everything. What say ?? -- Rajesh R > Would it be of help, if we could > Enhance the current version to include A date based processing. > > I mean, that the end user can analyse the Log-files between x to y > dates. Yes, this is an enhancement I've suggested before. > I have an approach, to achieve this, > > 1. Write a daemon that will continously > monitor the log-file specified in the > .cfg file and tar the logs if a certain > chosen capacity is exceeded. > In this way keep taring the files. Don't understand the relevance of this step ? > 2. once Analog is executed (with the dates selected), > execute a script analog.pl to work on the tar > files to extract and recreate the file for the > specific time period by doing some header/trailer > processing. Sounds like a fairly intensive approach, particularly for large gzipped logs. Sean said: > Is this not already possible quite easily using the FROM, TO and LOGFILE statements? No - if you have multiple logfiles, only the TO date is used to generate the names to read. If you have monthly logs, and want a 3-month report, you can either set up your LOGFILE statement to read all logs (& discard unwanted months), or read a year's logs (discarding unwanted), or you'll only get one month. None of these are really desireable. The correct approach would be for analog to loop round generating logfile names from FROM to TO ... It doesn't seem difficult, but I haven't a pressing enough need to put the time in myself - for me it's more of a gotcha than a real problem. Chris Any views expressed in this message are those of the sender and not necessarily those of CCA Group. The unauthorized use, disclosure, copying or alteration of this message is forbidden. The contents of this message may be confidential and/or privileged, copyright CCA Group and are intended solely for the use of the individual or entity to whom they are addressed. Whilst this message has been scanned, CCA Group cannot guarantee that it is virus free or compatible with your systems and accepts no responsibility for any loss or damage arising from its use. The recipient is advised to run their own anti-virus software. If you receive this message in error please contact [EMAIL PROTECTED] immediately, destroy any copies and delete it from your computer systems. +----------------------------------------------------------------------- +- | TO UNSUBSCRIBE from this list: | http://lists.meer.net/mailman/listinfo/analog-help | | Analog Documentation: http://analog.cx/docs/Readme.html List | archives: http://www.analog.cx/docs/mailing.html#listarchives | Usenet version: news://news.gmane.org/gmane.comp.web.analog.general +----------------------------------------------------------------------- +- +------------------------------------------------------------------------ | TO UNSUBSCRIBE from this list: | http://lists.meer.net/mailman/listinfo/analog-help | | Analog Documentation: http://analog.cx/docs/Readme.html | List archives: http://www.analog.cx/docs/mailing.html#listarchives | Usenet version: news://news.gmane.org/gmane.comp.web.analog.general +------------------------------------------------------------------------