Linux / UNIX Tech Support Forum
This is a discussion on Can lighttpd access log be filtered? within the Web servers forums, part of the Mastering Servers category; Hi, I'm running lighttpd 1.4.18 on an embedded Linux system with limited amount of disk space. Is there a way ...
|
|||||||
| Web servers Discussion on Apache, Nginx and Lighttpd HTTP/web server and configuration issues. |
![]() |
|
|
LinkBack | Thread Tools | Display Modes |
|
|||
|
Hi,
I'm running lighttpd 1.4.18 on an embedded Linux system with limited amount of disk space. Is there a way to filter or limit the amount of information that the accesslog module writes to the log file? Can I turn off logging of image files (.jpg) for example? Any help would be appreciated. |
| Sponsored Links | ||
|
|
|
|||
|
Hi Monk,
Thanks for your advice. It works like a charm Code:
$HTTP["url"] !~ "(\.css|\.jpg)$" {
accesslog.filename = "/var/log/lighttpd.log"
}
|
|
||||
|
Yes, it should improve performance.
__________________
Vivek Gite Linux Evangelist |
|
|||
|
i ve done some test with ab, this doesn't seems to be the case
thanks anyway at least, it's help awstats (or any log analyzer) to finish their work sooner |
![]() |
| Tags |
| lighttpd , performance , webserver |
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) |
|
| Thread Tools | |
| Display Modes | |
|
|
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| lighttpd ProxyPass | thunderbirdsei | Web servers | 0 | 30-04-2008 10:50 PM |
| Inactivity timer for lighttpd | petu | Web servers | 0 | 11-03-2008 12:49 PM |
| Apache and lighttpd together | anjanesh | Web servers | 4 | 29-08-2007 05:11 PM |
| redirect to www in lighttpd | muks | Web servers | 11 | 02-06-2007 10:55 PM |
| Debian recovery mode read only access make it write access | Donavit | Linux software | 1 | 30-12-2005 12:49 AM |