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

Fwd: auswerten apache2 logs



2006/11/19, Vladislav Vorobiev <mymir.org@googlemail.com>:
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.

sowas habe ich jetzt in httpd.conf. Es war common

LogFormat "%h %l %u %t \"%r\" %>s %b \"%{Referer}i\"
\"%{User-Agent}i\"" combined
LogFormat "%h %l %u %t \"%r\" %>s %b" common
LogFormat "%{Referer}i -> %U" referer
LogFormat "%{User-agent}i" agent
  ###  CustomLog logs/access_log common
CustomLog logs/access_log combined

siehe: http://www.mymir.ru/static/access.log

ist es jetzt combined?

Webalizer macht trotzdem nichts. :|(

:/usr/local/lib/apache2/logs# webalizer
Webalizer V2.01-10 (Linux 2.6.8-2-k7) locale: de_DE
Verwende Protokolldatei STDIN (clf)
Using default GeoIP database
Erzeuge Dateien in dem aktuellen Verzeichnis
Rechnername für Bericht ist 'h61'
Datei mit historischen Daten nicht gefunden...

Warnung: überlanges Rechner-Feld abgeschnitten
эberspringe ungЭltigen Eintrag. (1)

Warnung: überlanges Rechner-Feld abgeschnitten
эberspringe ungЭltigen Eintrag. (2)

Grüß
Vlad


--
Best Regards
Vlad Vorobiev
http://www.mymir.org

Reply to: