|
How do I "turn off" my Web Server Log FilesYour Virtual Server comes with a complete set of configuration files and log files. The configuration files control how your web server functions. The "httpd.conf" configuration file (located in your ~/www/conf) directory includes directives that specify the location of your transfer log file (access_log), your error log file (error_log), your agent log file (agent_log), and your referer log file (referer_log). You can change the location of these logs files and rename them in any way you see fit. You can exploit this capability to effectively "turn off" your log files by specifying the log file location to be the special device file "/dev/null". This special file is kind of like the "Trash Can" or "Recycle Bin" on your Macintosh or Microsoft Windows desktop - with one exception - you cannot recover data sent to "/dev/null". To "turn off" the log files on your Virtual Server, set one or more of the Log directive to be equal to "/dev/null". Examples, for each of the Log directives is given below:
You can selectively turn off each of the log files. It is not necessary to turn all of them off or leave all of them on. You have the option to just turn of one log while leaving the others on. To do this, simply set the Log directive you want to "turn off" to have the value "/dev/null" while leaving the other Log directives untouched.
|