#1  
Old 6th April 2011, 21:16
karon karon is offline
Junior Member
 
Join Date: Mar 2011
Posts: 7
Thanks: 2
Thanked 1 Time in 1 Post
Default How to disable Apache logging?

I have several high traffic sites that put a considerable IO load on the sytem because of their access and error logging. I can't find any option in ISPConfig 3 to disable logging on a site or the entire server.

How can this be done?
Reply With Quote
Sponsored Links
  #2  
Old 7th April 2011, 00:04
till till is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 36,419
Thanks: 834
Thanked 5,498 Times in 4,328 Posts
Default

Edit the ispconfig.conf file in /etc/apache2/sites-available and comment out the customlog line, then restart apache.
__________________
Till Brehm
--
Get ISPConfig support and the ISPConfig 3 manual from ispconfig.org.
Reply With Quote
The Following User Says Thank You to till For This Useful Post:
karon (7th April 2011)
  #3  
Old 7th April 2011, 00:18
karon karon is offline
Junior Member
 
Join Date: Mar 2011
Posts: 7
Thanks: 2
Thanked 1 Time in 1 Post
Default

The line in question looks like this:

Quote:
CustomLog "| /usr/local/ispconfig/server/scripts/vlogger -s access.log -t \"%Y%m%d-access.log\" -d \"/etc/vlogger-dbi.conf\" /var/log/ispconfig/httpd" combined_ispconfig
So if I comment this out, error logging (that's defined in the sites individual vhost files) will still be on, right?
Reply With Quote
  #4  
Old 7th April 2011, 00:42
till till is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 36,419
Thanks: 834
Thanked 5,498 Times in 4,328 Posts
Default

yes. the line above is the access.log and not the error.log.
__________________
Till Brehm
--
Get ISPConfig support and the ISPConfig 3 manual from ispconfig.org.
Reply With Quote
  #5  
Old 5th August 2011, 06:47
abubin abubin is offline
Member
 
Join Date: Mar 2010
Posts: 81
Thanks: 0
Thanked 2 Times in 2 Posts
Default

how do is disable the access.log only? I don't see the customlog in the vhost file for the specified domain. Using ispconfig 3.0.2.2
Reply With Quote
  #6  
Old 5th August 2011, 09:16
till till is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 36,419
Thanks: 834
Thanked 5,498 Times in 4,328 Posts
Default

Just remove the line that is mentioned in post #3 from the apache config. It is in the ispconfig.conf file and not in a vhost as it is a global logging directive and not site specific.
__________________
Till Brehm
--
Get ISPConfig support and the ISPConfig 3 manual from ispconfig.org.
Reply With Quote
  #7  
Old 2nd February 2013, 12:58
cypriot cypriot is offline
Junior Member
 
Join Date: Oct 2011
Posts: 14
Thanks: 0
Thanked 0 Times in 0 Posts
 
Default

Found an easy way of doing this

go into website settings and options in admin of Ispconfig,
and add this two line into Apache Directives

CustomLog /dev/null Combined
AccessLog /dev/null Combined

you will see all logs will stop

i guess you guys can add tick box on the setting page of the site to add this two line auto ?

Regards
Reply With Quote
Reply

Bookmarks

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
trying to install roundcubemail ressel Installation/Configuration 13 24th December 2009 20:13
problems with suexec gobokster Installation/Configuration 7 7th May 2009 13:33
CENTOS 5 Ping Problem gAnDo Server Operation 11 28th March 2008 20:58
Centos 4.4 32bit Hangs, High Server load 3cwired_com Server Operation 11 16th November 2006 15:47
Problem with the installation of Dokeos (LMS) in ISPConfig jofranco General 4 28th April 2006 00:45


All times are GMT +2. The time now is 17:35.


Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2014, vBulletin Solutions, Inc.