Kein Logfile für vHost

Apache, Lighttpd, nginx, Cherokee
Post Reply
coke
Posts: 31
Joined: 2003-08-09 11:13
 

Kein Logfile für vHost

Post by coke »

Hallo,

meine Frage:

Ich würde gerne für einen vHost keine Logfileeinträge produzieren. Ist das möglich?

Apache 2.0.54

Edit: Mit geht es nur um das Access_Log

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

Re: Kein Logfile für vHost

Post by Joe User »

IIRC sollte folgende Option im vHost ausreichen:

Code: Select all

CustomLog /dev/null
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.
coke
Posts: 31
Joined: 2003-08-09 11:13
 

Re: Kein Logfile für vHost

Post by coke »

Danke für die schnelle Antwort, mit /dev/null funktioniert es.
alexander newald
Posts: 1117
Joined: 2002-09-27 00:54
Location: Hannover
Contact:
 

Re: Kein Logfile für vHost

Post by alexander newald »

Wobei man beachten sollte, dass hierfür pro vhost ein Filehandle verwendet wird und diese sind endlich (manchmal sogar ziemlich schnell)
Post Reply