disabling apache logging to access.log

I've been reading about disabling the logging of the apache server, which is crucial for me as I'm running huge tests on it, and it fills the disk.

I've tried changing http.conf and directing stuff to /dev/null, but none of it worked, as most of it was the Error logging.

Any idea anyone?



In order to disable and turn off the Apache logging, just comment out the log lines in the Apache configuration file. Read more here.

Just comment the areas where logging was set.


virtual hosts configurations (virtual.conf, domain.conf etc)

For something like

CustomLog logs/access_log common
ErrorLog logs/error_log

Just do,

#CustomLog logs/access_log common
#ErrorLog logs/error_log

Need Your Help

Sql Server return the value of identity column after insert statement

sql sql-server-2008

Is it possible in sql server using stored procedure to return the identity column value in a table against which some values are inserted? For example using stored procedure if we insert data in a ...

How to catch exception and stop Topshelf service?

c# topshelf

I have a topshelf windows service where I want to do some checking (i.e. if an xml file exists) and if the check fails I need the windows service to stop.