Web Hosting Talk







View Full Version : Turning off Logging


PPN
12-25-2001, 05:47 PM
I'm looking for a way to turn off logging for my box, it gets alot of hits and I find that some of the sites have 265mb logs etc and in under a day it jumps to 55mb and the site keeps getting no upload permissions as there always out of space, so I'd like to just turn off logging for the raq, i thought it would be in the httpd.conf but I couldn't see it?

Thanks

smartbackups
12-25-2001, 06:02 PM
While I definitely don't recommend turning off logging of anykind whatsoever it is considered very bad sysadmining, you can do what you need by turning to syslog.conf and reading up on that and how it works.

priyadi
12-25-2001, 06:50 PM
Originally posted by PPN
I'm looking for a way to turn off logging for my box, it gets alot of hits and I find that some of the sites have 265mb logs etc and in under a day it jumps to 55mb and the site keeps getting no upload permissions as there always out of space, so I'd like to just turn off logging for the raq, i thought it would be in the httpd.conf but I couldn't see it?

Thanks

Whoa, is this web server access log you are talking about? 55 MB in one day means close to 300000 hits in one day. That means 3-4 average hits every seconds. That's serious load, considering it is only for one site. :eek2:

If you can afford that kind of load, surely you can afford another disk. Or maybe another server to distribute the load.

If you are a web hosting company, maybe you should check if they are exceeding their bandwidth limit. You don't offer unlimited bandwidth, do you?

PPN
12-25-2001, 06:56 PM
the biggest one is web.cache in the /home/sites/siteX/logs folder i want to turn off the general information logging like what files that are being downloaded but leave all error logs still showing if you know what i mean.

I'll look at that file now smartbackups thanks

ffeingol
12-25-2001, 07:46 PM
I have to agree with the others that shutting off loggin (even for apache) is not a good idea.

It will be difficult to shut off the log for just one site on a RaQ. The RaQ's log everyting to one file (one for access, one for errors). There is then a daily cron job that splits that log into the logs for the various sites.

Frank