How to read compressed log files

Joost van Baal joostvb at logreport.org
Wed Jul 11 15:39:53 CEST 2001


Hello Thierry,

On Mon, Jul 09, 2001 at 10:45:12AM +0200, FAI - Thierry Montigneaux wrote:
> 
<snip>
> 
> > 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.

Changing "cat" into "gzip -dc" is what I meant.

> 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.

What is the homedirectory of user lire?  Did you pass any arguments
to ./configure ?  Did you change your etc/lire/defaults , or create a
defaults.local?  What's the value of LR_ARCHIVEDIR in your configuration
files?  Which files are created in /usr/local/var?  I can't figure out
what exactly is going on in your installation.  Anyway, what you're
reporting seems to be a bug, I'd very much like to get it fixed, so
please give more details.

> Three last comments/suggestions if I may:

Sure!  We're happy with feedback like this.

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

*blush*  Thanks a lot (I believe I can speak for the 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.

Sounds very reasonable.  We'll try to get it in next release.

( BTW, I believe changing

REPORTFILTERS="filter filter_messages"

into

REPORTFILTERS="filter_messages filter"

in etc/lire/email/defaults will do the trick (though I'm not really sure,
just try it.) )

> 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 :-)

You're not the first one to ask for this.  Your request bumps it up
on our prio list.

> 
> Have a nice day.

Same to you :)

Thanks a lot for your comments, they're very valuable.

Bye,

Joost



-- 
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