28, May 2012

How to disable logging in lighttpd - webmaster forum

 
Webdigity webmaster forums
[ Home | Help | Search | Forum's Shop | Archive | Login | Register | Webmaster Directory ]
Webdigity Webmaster Forums  >  Web hosting talk  >  Configuring your server
Topic: How to disable logging in lighttpd
« previous next »
Pages: [1] Print
Instabuck - The easy way to sell digital products online

Author Topic: How to disable logging in lighttpd  (Read 6059 times)
I am a metal monkey!
Administrator
Community Supporter ?
Jedai Sword Master
*****
Gender: Male
Posts: 5799
46391 credits
Members referred : 3



« on: Oct 11, 2007, 09:48:16 pm »

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:

Quote
#server.errorlog            = "/var/log/lighttpd/error.log"
#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)

Trial and Error my two best teachers Cool
Join us @ facebook or twitter

Last blog : Butterfly Marketing 2.0
Global Moderator
Community Supporter ?
Jedai Sword Master
*****
Gender: Male
Posts: 6691
34714 credits
Members referred : 374


It's time to use PHP5!


« Reply #1 on: Oct 12, 2007, 11:03:58 am »

thanks for sharing, I use lighttpd on windows (much more stable than apache2)

Trackback URI for this entry : http://www.webdigity.com/trackback.php?topic=7222
Tags : lighttpd logging log Bookmark this thread : Digg Del.icio.us Dzone more....

Pages: [1] Print 
Webdigity Webmaster Forums  >  Web hosting talk  >  Configuring your server
Topic: How to disable logging in lighttpd
« previous next »
Jump to:
User Area
Welcome, Guest. Please login or register.
Did you miss your activation email?
May 28, 2012, 09:20:44 pm





Login with username, password and session length

Donate to our community, and get a permanent link back to your site!

Donate to our community, and get a permanent link back to your site!






Web Design Gallery · Whois Lookup · Pagerank · Tag Browsing · Lo-fi version · Syndication · Webmaster forum history · Advertise
Developed by HumanWorks © 2005 - 2012 Webdigity webmaster community · sublime directory
Webdigity Webmaster Forums | Powered by SMF 1.0.12. © 2001-2005, Lewis Media. All Rights Reserved.