- Lighttpd
- Andre Bogus
- 217字
- 2021-08-25 18:06:25
Access Logging
We can configure logging to include more or less information. By default, Lighttpd uses the Common Log Format (CLF) as used by most available HTTP servers with varying extensions. However, the access logging is completely configurable.
If we do not care about logging, or, we are really strapped for disk space (for example, on embedded systems) we can turn it off entirely by removing mod_accesslog
from our server.modules
(on embedded systems we would go one step further and remove mod_accesslog
entirely). Otherwise, we can configure logging to strike a balance between space and use privacy requirements on one hand, and our interest in the data on the other hand.
The access.log
file follows a format laid out in the accesslog.format
configuration option. The contents of this option are included as plain text on each line, but only for entries starting with a percent sign. These entries are placeholders for information about the logged event. Here is a list of these placeholders:

The default for accesslog.format
is "%h %l %u %t \"%r\" %>s %b \"%{Referer}i\" \"%{User-Agent}i\""
in compliance with the CLF. The other configuration options of mod_accesslog
allow us to use a syslog daemon for logging or specifying an alternative file path for the access log:
# either accesslog.use-syslog = "enable" # or accesslog.filename = "/var/log/lighttpd.log"
- 中文版Photoshop CS6完全使用手冊(超值版)
- 現代企業應用設計指南
- TArch 8.5天正建筑軟件標準教程
- SolidWorks 2008機械設計一冊通
- Drools規則引擎技術指南
- 圖像處理基礎教程(Photoshop CS5)(第2版)
- UG NX 9.0中文版 基礎教程 (UG工程師成才之路)
- 中文版CorelDRAW X6基礎培訓教程
- 邊做邊學:Photoshop+CorelDRAW綜合實訓教程
- 專業級音樂制作理論與實踐Pro Tools:從入門到應用
- 深入理解OpenCV:實用計算機視覺項目解析(原書第3版)
- 新編 中文版Photoshop平面設計入門與提高
- MATLAB在日常計算中的應用
- 企業微信公眾平臺開發實戰:再小的個體也有自己的品牌
- Photoshop CC 2015課堂實錄