#1  
Old 26th October 2009, 19:55
gkovacs gkovacs is offline
Member
 
Join Date: Jan 2009
Location: Budapest, Hungary
Posts: 47
Thanks: 5
Thanked 0 Times in 0 Posts
Default Disable httpd logging

I would very much like to be able to disable access / error logging for a site.

Currently, I can't find any option to do this in the web interface (and if I do it manually, the site config will be overwritten).
Reply With Quote
Sponsored Links
  #2  
Old 27th October 2009, 08:36
till till is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lneburg, Germany
Posts: 35,981
Thanks: 825
Thanked 5,371 Times in 4,218 Posts
Default

You can e.g remove the log lines in the vhost master template. But this will affect all websites.
__________________
Till Brehm
--
Get ISPConfig support and the ISPConfig 3 manual from ispconfig.org.
Reply With Quote
  #3  
Old 28th October 2009, 18:21
Bookworm Bookworm is offline
Junior Member
 
Join Date: Aug 2009
Posts: 28
Thanks: 1
Thanked 1 Time in 1 Post
Default

Is there any way to disable the system from logging every site _twice_? I have a /var/log/httpd_log file that grows to 1.4 gigs a day because it logs everything for all of the individual sites - but they're already logging on their own.

(Posting in here because it's related)

Last edited by Bookworm; 28th October 2009 at 18:23. Reason: postscript
Reply With Quote
  #4  
Old 31st October 2009, 04:20
computer_freak_8 computer_freak_8 is offline
Junior Member
 
Join Date: Sep 2009
Posts: 18
Thanks: 3
Thanked 5 Times in 5 Posts
Default

Quote:
Originally Posted by Bookworm View Post
Is there any way to disable the system from logging every site _twice_? I have a /var/log/httpd_log file that grows to 1.4 gigs a day because it logs everything for all of the individual sites - but they're already logging on their own.
If they use separate files, a very crude, ugly hack might be to set the duplicate(s) to log to /dev/null - although I don't know if this will work, and it may cause other issues... What do you mean by "it logs everything for all of the individual sites - but they're already logging on their own."? Like you started HTTPD twice?

Also, have you tried changing the "level" of logging? (More detail vs. less detail?)
Reply With Quote
  #5  
Old 5th November 2009, 04:37
Bookworm Bookworm is offline
Junior Member
 
Join Date: Aug 2009
Posts: 28
Thanks: 1
Thanked 1 Time in 1 Post
 
Default

Apologies for the long delay.

What it means is that /var/www/httpd/access_log

contains all server accesses to all sites.

All of the sites have their own httpd logs in /var/log/ispconfig/httpd/<sitename>

In a normal situation, if the individual sites had their own logs (error and access), then they wouldn't be logged to the system httpd log. In this case, they're duplicated.

Right now, I have four system access_log files, and they're 1193916 KB. (approximately) This is the same size as if I went through and concatenated all of the individual site logs, as if I was going to make a 'system' webalizer site.
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
Server brought to a crawl v2k Server Operation 14 29th May 2008 17:40
CENTOS 5 Ping Problem gAnDo Server Operation 11 28th March 2008 20:58
Revisit: ISPConfig, httpd and wierd logging errors zetnsh Installation/Configuration 2 1st February 2008 20:18
Apache / httpd restart / startup failed without errors Aldert Server Operation 11 30th January 2008 17:11
MaxClients set to appropriate level, but ISPconfig is crashing from it (I think) bpmee Server Operation 6 11th January 2007 19:29


All times are GMT +2. The time now is 19:50.


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