Nikolas
Thu 11 October 2007, 09:48 pm GMT +0200
I know this is too simple to get done, but as I've guessed it (because I couldn't find any documentation) I thought to post it here for future reference.
So in order to disable logging in the lighttpd web server just comment (add a #) the following lines in your lighttpd.conf file:
The dots represent the other modules you may use. This will overall increase the speed of your server but have in mind that with no logs you wont be able to know what happened in case of a problem (eg. a hack intrusion)
Personally I use this only to our secondary server that just serves images and css files (static files in general)
So in order to disable logging in the lighttpd web server just comment (add a #) the following lines in your lighttpd.conf file:
Quote
#server.errorlog = "/var/log/lighttpd/error.log"
#accesslog.filename = "/var/log/lighttpd/access.log"
server.modules = (
.
.
.
# "mod_accesslog",
.
.
.
)
#accesslog.filename = "/var/log/lighttpd/access.log"
server.modules = (
.
.
.
# "mod_accesslog",
.
.
.
)
The dots represent the other modules you may use. This will overall increase the speed of your server but have in mind that with no logs you wont be able to know what happened in case of a problem (eg. a hack intrusion)
Personally I use this only to our secondary server that just serves images and css files (static files in general)