9, July 2008

How to disable logging in lighttpd - webmaster forum

 
Webdigity webmaster forums
This forum shares its ad revenue with its members!
[ 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

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



« on: Oct 11, 2007, 10: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 Visit through proxy

Last blog : MIA - Where Nick and Tim
Global Moderator
Community Supporter ?
Jedai Sword Master
*****
Gender: Male
Posts: 6274
38470 credits
Members referred : 374


It's time to use PHP5!


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

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


Last blog : 4th of July Lottery from TemplateMonster.com
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....

Topic sponsors:
Get a permanent link here for $1.99!


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?
Jul 09, 2008, 04:09:55 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!


Forum Statistics
Total Posts: 35.595
Total Topics: 7.357
Total Members: 3.663
Tutorials : 56
Resources : 143
Designs : 220
Latest Member: Stepho

24 Guests, 4 Users online :

19 users online today:



Readers

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