How to read compressed log files

FAI - Thierry Montigneaux thierrym at fai.org
Mon Jul 9 10:45:12 CEST 2001


Joost,

Thanks for the quick reply. See comments below.


Joost van Baal wrote:
> 
> > The first daily report failed, most probably because the logfiles are
> > automatically compressed when rotated and logrepor is not told to first
> > uncompress them.
> 
> Did you install the Debian package?  Or are you using lire-20010629.1.tar.gz?

I use lire-20010629.1.tar.gz , as the package was installed on an
OpenBSD server.


> You're right, that's the file.  The filter should be
> 
> filter="gzip -dc"


OK, it worked. However, "filter" was  reading like this before :

filter="cat"

and I had to remove the 'cat' argument or it would generate error
messages. It worked afterwards, so I am not sure of the impact of the
removing of 'cat' in this context.

After having updated the files, I did run "./lr_cron daily" as user
'lire' (which is the user under which I am running the package), and I
came across another error as the directory /usr/local/var was not
existing, and user 'lire' had not the necessary permissions to create
it. I had to do it manually before to re-run the command. You may wish
to take this into consideration for future updates to the 'install'
procedure and instructions of the LIRE package.


Three last comments/suggestions if I may:

1) your software looks really great from the first report I have seen.
Congrats to the whole team !

2) the way the report output is built up (I am talking about the report
sent by email.. haven't seen the other formats), I think it would be
more convenient to have the global summary/figures coming first. By
this, I mean the total number of messages sent/received for the period
considered, and total number of bytes processed, before to go into the
details of the top 10 this, top 5 that, etc. Sort of having an executive
summary before the details. This is just a thought.

3) I have been looking for programmes to create report from FTP server
logfiles for long times... Just an idea for the future in case you lack
ideas for new types of reports to add to LIRE's capabilities :-)


Have a nice day.

Thierry

-- 
To UNSUBSCRIBE, email to questions-request at logreport.org with a subject of 
"unsubscribe". Trouble? Send an email with subject "help" to 
questions-request at logreport.org



More information about the Questions mailing list