Help - Search - Members - Calendar
Full Version: Can I stop access and error logs for a domain?
The Planet Forums > Control Panels > Plesk
dennys
Hi,
I have a domain that generates over 2Gigs of logs a day and I want to know if I can stop it by using the vhost.conf file. What would be the right code to put in?

I've tried:

CODE
LogFormat "%h %l %u %t "%r" %>s %b" common

CustomLog /dev/null common


And it doesn't work.

Please help
Thanks in advance
Squire
Is it safe to assume that you're wanting to dump the logs because Webalizer is choaking on the size?

If you don't need the logs at all I would simply turn off Webstats for the domain to keep them from being processed and set up the log rotation based upon size so that they get dumped every day.
This is a "lo-fi" version of our main content. To view the full version with more information, formatting and images, please click here.
Invision Power Board © 2001-2009 Invision Power Services, Inc.