[Gelöst]Apache Error Log Funktion ruft multiple Prozesse auf

Irgendwelche Probleme mit XAMPP für Windows? Dann ist hier genau der richtige Ort um nachzufragen.

[Gelöst]Apache Error Log Funktion ruft multiple Prozesse auf

Postby Sider » 27. February 2006 10:23

Die erweiterten Log-Funktionen des Apache produzieren bei mir in 4 Tagen 12 Prozesse mit der Rotatelogs.exe und 6 Prozesse mit der cmd.exe. Offenbar pro Tag 3 Prozesse mit rotatelogs und 1 mit der cmd.exe. Das kann ja irgendwie nicht die Lösung sein, deshalb die Frage: Was ist da zu machen?

Ich nutze Win XP Pro SP2 mit der aktuellen Xammp Version 1.5.1 und habe die folgenden Dinge in meiner httpd.conf ergänzt:

#
# ErrorLog: The location of the error log file.
# If you do not specify an ErrorLog directive within a <VirtualHost>
# container, error messages relating to that virtual host will be
# logged here. If you *do* define an error logfile for a <VirtualHost>
# container, that host's errors will be logged there and not here.
#
ErrorLog "|E:/apachefriends/xampp/apache/bin/rotatelogs.exe E:/apachefriends/xampp/apache/logs/error%Y%m%d.log 86400"
# ErrorLog logs/error.log

#
# LogLevel: Control the number of messages logged to the error_log.
# Possible values include: debug, info, notice, warn, error, crit,
# alert, emerg.
#
LogLevel warn

#
# 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
LogFormat "%{Referer}i -> %U" referer
LogFormat "%{User-agent}i" agent

#
# The location and format of the access logfile (Common Logfile Format).
# If you do not define any access logfiles within a <VirtualHost>
# container, they will be logged here. Contrariwise, if you *do*
# define per-<VirtualHost> access logfiles, transactions will be
# logged therein and *not* in this file.
#
#CustomLog logs/access.log common
CustomLog "|E:/apachefriends/xampp/apache/bin/rotatelogs.exe E:/apachefriends/xampp/apache/logs/access%Y%m%d.log 86400" combined


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

#
# The location and format of the access logfile (Common Logfile Format).
# If you do not define any access logfiles within a <VirtualHost>
# container, they will be logged here. Contrariwise, if you *do*
# define per-<VirtualHost> access logfiles, transactions will be
# logged therein and *not* in this file.
#
CustomLog logs/access.log common

#
# If you prefer a logfile with access, agent, and referer information
# (Combined Logfile Format) you can use the following directive.
#
#CustomLog logs/access.log combined
</IfModule>
Last edited by Sider on 02. March 2006 11:29, edited 1 time in total.
Sider
 
Posts: 57
Joined: 13. February 2006 15:12

Postby Sider » 02. March 2006 11:29

Hat sich, wenn auch unschön, gelöst mit Laden des Moduls mod_log_rotate.so.
Sider
 
Posts: 57
Joined: 13. February 2006 15:12


Return to XAMPP für Windows

Who is online

Users browsing this forum: No registered users and 38 guests