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 ...
|
|||||||
| Register | FAQ | Members List | Calendar | Mark Forums Read |
|
|||
|
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"
}
|
![]() |
| Bookmarks |
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 | 04-30-2008 10:50 PM |
| Inactivity timer for lighttpd | petu | Web servers | 0 | 03-11-2008 12:49 PM |
| Apache and lighttpd together | anjanesh | Web servers | 4 | 08-29-2007 05:11 PM |
| redirect to www in lighttpd | muks | Web servers | 11 | 06-02-2007 10:55 PM |
| Debian recovery mode read only access make it write access | Donavit | Linux software | 1 | 12-30-2005 12:49 AM |