[prev in list] [next in list] [prev in thread] [next in thread]
List: kde-devel
Subject: Re: KLogTool
From: Jan Kneschke <jan () kneschke ! de>
Date: 2002-10-23 17:03:59
[Download RAW message or body]
On Wed, Oct 23, 2002 at 06:11:18PM +0200, Michael Goffioul wrote:
> > > The file location is not a problem, it's already configurable.
> > > The format is something else. Could point me on some online doc
> > > about the log format?
> >
> > http://httpd.apache.org/docs-2.0/logs.html (apache 2.0.x)
> > http://httpd.apache.org/docs/logs.html (apache 1.3.x)
> >
> > Hopefully these will be enough to get you started.
>
> After looking at the doc, it seems pretty feasible to add apache
> support for error_log and access_log format. For the latter I would
> however put 2 restrictions:
> - each log entry is a single line
For very long lines this is NOT the case for apache 1.3.x.
> - fields with spaces are quoted (otherwise it seems impossible
> to parse)
You should use regexes to parse them. If you want you should take a look at
modlogan (http://jan.kneschke.de/projects/modlogan/) which is a very
flexible log-file parser for multiple logfile-types (webserver, ftp-server,
mail-server, streaming-server, ...)
> Michael.
Jan
--
http://jan.kneschke.de - localizer, modlogan, pxtools
mailto:jan@kneschke.de - Jan Kneschke
>> Visit http://mail.kde.org/mailman/listinfo/kde-devel#unsub to unsubscribe <<
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic