Allgemeines error_log trotz vhost-error_logs

Apache, Lighttpd, nginx, Cherokee
Post Reply
giffi
Posts: 140
Joined: 2003-05-17 14:52
 

Allgemeines error_log trotz vhost-error_logs

Post by giffi »

Hi,

und zwar würde ich gerne den prelude-lml mit mod_security-filter
über mein apache-error_log laufen lassen um mir in prelude die Einträge für mod_security zu sammeln.
Problem dabei ist, daß auf dem Server mehrere Vhosts laufen (Plesk)
die jeweils ein eigenes error_log im vhost drinhaben.
Wenn ich die Apachekonfiguration richtig verstanden hab wird bei vorhandenem Eintrag von einem error_log in der vhost-config die errors des jeweiligen vhosts auch nur in dieses error_log geschrieben und nicht in das allgemeine /var/log/apache*/error_log

Wie kann ich es hinbekommen, daß sowohl in den jeweiligen vhosts als auch im allgemeinen error_log geloggt wird?


Giffi
User avatar
Joe User
Project Manager
Project Manager
Posts: 11191
Joined: 2003-02-27 01:00
Location: Hamburg
Contact:
 

Re: Allgemeines error_log trotz vhost-error_logs

Post by Joe User »

Füge den entsprechenden vHosts ein zweites Errerlog hinzu...
PayPal.Me/JoeUserFreeBSD Remote Installation
Wings for LifeWings for Life World Run

„If there’s more than one possible outcome of a job or task, and one
of those outcomes will result in disaster or an undesirable consequence,
then somebody will do it that way.“ -- Edward Aloysius Murphy Jr.
giffi
Posts: 140
Joined: 2003-05-17 14:52
 

Re: Allgemeines error_log trotz vhost-error_logs

Post by giffi »

Ist auch eine Möglichkeit.
Allerdings genauso umständlich wie alle vhost-error_logs in die prelude-lml-config einzufügen, da ich das bei jedem vhost dann ja manuell in die Konfig eintragen muss.

Giffi
User avatar
Joe User
Project Manager
Project Manager
Posts: 11191
Joined: 2003-02-27 01:00
Location: Hamburg
Contact:
 

Re: Allgemeines error_log trotz vhost-error_logs

Post by Joe User »

In dem Fall lohnt sich ein kleines Shellscript...
PayPal.Me/JoeUserFreeBSD Remote Installation
Wings for LifeWings for Life World Run

„If there’s more than one possible outcome of a job or task, and one
of those outcomes will result in disaster or an undesirable consequence,
then somebody will do it that way.“ -- Edward Aloysius Murphy Jr.
Post Reply