[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: auswerten apache2 logs



2006/11/19, Moritz Lenz <moritz@casella.verplant.org>:
Hallo Vladislav,

Vladislav Vorobiev wrote:
> <IfModule log_config_module>
>    #
>    # The following directives define some format nicknames for use with
>    # a CustomLog directive (see below).
>    #
>    LogFormat "%h %l %u %t \"%r\" %>s %b \"%{Referer}i\"
> \"%{User-Agent}i\"" combined
>    LogFormat "%h %l %u %t \"%r\" %>s %b" common
>    <IfModule logio_module>
>      # You need to enable mod_logio.c to use %I and %O
>      LogFormat "%h %l %u %t \"%r\" %>s %b \"%{Referer}i\"
> \"%{User-Agent}i\" %I %O" combinedio
>    </IfModule>

Du hast zwei Möglichkeiten, mit den nicht-standard-Logdateien umzugehen:
1) Du loggst in zwei verschiedene Dateien, einmal mit und einmal ohne %I %O
2) Du konvertierst deine Logdateien nachträglich in ein Format, das die
üblichen Analysetools lesen können.

> http://www.mymir.ru/static/access.log
Das ist nicht "combined"...

Ok, ich möchte aber standart haben. Also ich habe apache 2 kompiliert
und logdateien format nicht verändert!. Kannst du mir Zeilen
(httpd.conf) für den standart hier posten.



Reply to: