Go Back   HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials > ISPConfig 3 > General

Do you like HowtoForge? Please consider supporting us by becoming a subscriber.
Reply
 
Thread Tools Display Modes
  #11  
Old 29th July 2010, 12:08
abubin abubin is offline
Member
 
Join Date: Mar 2010
Posts: 81
Thanks: 0
Thanked 2 Times in 2 Posts
Default

what about vn.domain.com? This site was created with ispconfig.

Also, where does 127.0.0.1 log comes from? I can't find where it is defined.

Also I cant fine where does as69 amd as69.domain.com log files defined.

I have looked in 000-default and no definition of the logs. And it end up in /etc/log/ispconfig/http/.....why?

How do I turn off logs for these "rogue" sites?

Last edited by abubin; 29th July 2010 at 12:15.
Reply With Quote
Sponsored Links
  #12  
Old 29th July 2010, 12:16
till till is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lneburg, Germany
Posts: 34,638
Thanks: 793
Thanked 4,998 Times in 3,909 Posts
Default

ISPConfig compresses yesterdays log for websites that get listed by this mysql query:

SELECT domain_id, domain, document_root FROM web_domain WHERE server_id = 1

The server_id depends on your server. On single server systems, it is 1, on multiserver systems you can lookup the ID in the config.inc.php file.
__________________
Till Brehm
--
Get ISPConfig support and the ISPConfig 3 manual from ispconfig.org.
Reply With Quote
  #13  
Old 30th July 2010, 12:00
abubin abubin is offline
Member
 
Join Date: Mar 2010
Posts: 81
Thanks: 0
Thanked 2 Times in 2 Posts
Default

ok, that explains why the compressions did not work on those domains created manually.

Let's talk about server1 only. This server was 3.0.1.6 when i first install. Then upgraded to 3.0.2.2. During upgrade, I did say yes to all the questions to re-configure the settings.

Now, the compress does not work at all in this server. There is only 1 very active domain in here. That is vn.domain.com. This domain was created using ispconfig. Therefore, it should compress but it isn't. The access log is like 1.5GB per day and since the logs also does not get removed after 30 days, it ended up taking up spaces.

How to solve this problem?

Another problem in server1 also have the default website as defined in ubuntu. This will access /var/www folder as root. This was not created by ispconfig therefore I understand why ispconfig won't compress it. But why does the access log got into ispconfig's httpd folder? The access log file is in /var/log/ispconfig/httpd/127.0.0.1/. How do I turn off access log for this 127.0.0.1? In the apache file for this default site, I have already commented access log from the beginning. But logs still go into this 127.0.0.1 folder. How so? More importantly how to disable this access log? Cause the log files are also in excess of 1GB per day.

Please help.
Reply With Quote
  #14  
Old 1st August 2010, 17:47
abubin abubin is offline
Member
 
Join Date: Mar 2010
Posts: 81
Thanks: 0
Thanked 2 Times in 2 Posts
 
Default

ok, after reading about vlogger, i understand how the logging in ispconfig works. Seems like there are no options to disable logs for specified virtualhost in vlogger.

This will be an issue when we need to control whether to log or not to log for specified websites. Also with manually created virtual hosts.

Hmm...will have to study and see what are other options available...
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
Apache Log File + Webalizer - Bytes Transferred mooxe Server Operation 0 24th January 2010 22:57
FTP Problems wabz Installation/Configuration 6 11th January 2010 18:51
Issues reloading apache config Norman General 5 2nd March 2009 12:14
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


All times are GMT +2. The time now is 14:12.


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