![]() |
apache2 logging goes wrong - Printable Version +- ispCP - Board - Support (http://www.isp-control.net/forum) +-- Forum: ispCP Omega Support Area (/forum-30.html) +--- Forum: Usage (/forum-34.html) +--- Thread: apache2 logging goes wrong (/thread-7788.html) |
apache2 logging goes wrong - mr.x - 09-07-2009 03:59 PM Hi all, I am facing a strange problem ... .. something went wrong with the logfiles from apache2. I migrated from vhcs2.4.7.1 to ispcp two weeks ago with smaller isues but most of them are solved. Thanks to the great forum here !!! But now due to the logfile issue I think my traffic calculation went wrong. I get very huge other_vhosts_access.log files. Round about 100MB per day. But inside the file are informations from other valid domains which I am hosting. Code: cat other_vhosts_access.log In my apache.conf is this parameter Code: # Does anybody knows why this went wrong? Br Jan RE: apache2 logging goes wrong - sci2tech - 09-08-2009 01:35 AM Nothing is wrong. New system logger is not defined per vhost. So if you do not comment line Code: CustomLog /var/log/apache2/other_vhosts_access.log vhost_combined RE: apache2 logging goes wrong - mr.x - 09-08-2009 03:53 PM Hi sci2tech, (09-08-2009 01:35 AM)sci2tech Wrote: Nothing is wrong. New system logger is not defined per vhost. So if you do not comment line dam man, you are right ! But how can this happens? When I take a look at the stats of a specific domain, then I can see that there is a big different as i switched to ispcp. Code: 1.95 GB Everyday rounf about 2 GB and now only 50 MB?? There is something wrong with the traffic counting. Its not the domain, visits still as before or even more due to advertisement for this shop .-/ Where should I start searching "to shot the trouble" ? .-) Br Jan RE: apache2 logging goes wrong - sci2tech - 09-09-2009 02:23 AM Counting the traffic is an issue. Is counting only traffic from domain and aliases not from subdomain. This must be corected by us (dev team) but can predict when. RE: apache2 logging goes wrong - mr.x - 09-09-2009 02:42 AM (09-09-2009 02:23 AM)sci2tech Wrote: Counting the traffic is an issue. Is counting only traffic from domain and aliases not from subdomain. This must be corected by us (dev team) but can predict when. Can I help here? What must be done? Br Jan RE: apache2 logging goes wrong - sci2tech - 09-09-2009 02:46 AM ispcp-vrl-traff must be rewritten RE: apache2 logging goes wrong - mr.x - 09-09-2009 03:35 AM Hi, (09-09-2009 02:46 AM)sci2tech Wrote: ispcp-vrl-traff must be rewritten ok, its in perl. I am not an perl expert but I can read and understand it. I'll give it a try. But I need may be more infos: - Which one should be my baseline? trunk or tag? - Are there additional infos available where the issue starts? - Any ideas how to set it up? With subdomain you mean http://www.xxx.tld Br Jan RE: apache2 logging goes wrong - sci2tech - 09-09-2009 04:08 AM (09-09-2009 03:35 AM)mr.x Wrote: Hi,Always use trunk. Some issue-> now subdomains go in separate log file so traff engine do not read them. You need to extract all subdomains from database then parse logs as the domains log are parsed. Also some ckecks on the mode iptables read traffic. Somethig is strange there too. www traffic goes to main domain log so not this can be the problem. I was talking about added subdomains and alias subdomains. RE: apache2 logging goes wrong - mr.x - 09-09-2009 04:22 AM Hi, (09-09-2009 04:08 AM)sci2tech Wrote: Always use trunk. Some issue-> now subdomains go in separate log file so traff engine do not read them. You need to extract all subdomains from database then parse logs as the domains log are parsed. Also some ckecks on the mode iptables read traffic. Somethig is strange there too. I will take a look and see what I can do. |