Einträge in der httpd.conf
ErrorLog "|/usr/local/apache/bin/zwrotlogs \ /usr/local/apache/logs/error_log.%Y-%m 86400"
ergibt files wie:
error_log.2004-03 error_log.2004-04 error_log.2004-05
Aber beachten:
# URL http://hroch486.icpf.cas.cz/zwrotlogs/ # Program /usr/local/apache/bin/zwrotlogs # +============+================+ # | works well | CANNOT be used | # +============+================+ # | access log | | # | error log | | # | SSL log | | # | | script log | # | | rewrite log | # +------------+----------------+ # because it work only with 1 line log format, # more than 1 line CANNOT work!
Das Tool hab ich auch schon in betracht gezogen. Am liebsten wäre mir ja wirklich ein Tool, das die Logfiles EXACT nach einem
Datum aufspaltet so das ich am Ende Logfiles für jeden Monat
oder für jede Woche habe. Das Problem ist nur was ich sehe,
dass rotatelogs das nur nach MB macht und logrotate zu ungenau ist. Da kann es ja passieren, dass durch die Laufzeit von logrotate
das Log 10 Min später umgeswitcht wird. ;(
--
STAR AG Phone +41 52 742 92 00 Wiesholz 35 Fax +41 52 742 92 92 CH-8262 Ramsen Email [EMAIL PROTECTED] Online http://www.star-group.net/
--------------------------------------------------------------------------
Apache HTTP Server Mailing List "users-de" unsubscribe-Anfragen an [EMAIL PROTECTED]
sonstige Anfragen an [EMAIL PROTECTED]
--------------------------------------------------------------------------