summaryrefslogtreecommitdiff
path: root/doc/config/conf.d/access_log.conf
blob: eec41ea121a7122f326d7e0be844fb0c3527a5f4 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
#######################################################################
##
## Corresponding documentation:
##
## https://redmine.lighttpd.net/projects/lighttpd/wiki/Docs_ModAccesslog
##
server.modules += ( "mod_accesslog" )

##
## Default access log.
##
accesslog.filename          = log_root + "/access.log"

##
## The default format produces CLF compatible output.
##
#accesslog.format = "%h %l %u %t \"%r\" %b %>s \"%{User-Agent}i\" \"%{Referer}i\""

##
## If you want to log to syslog you have to unset the 
## accesslog.use-syslog setting and uncomment the next line.
##
#accesslog.use-syslog       = "enable"
##
## syslog level defaults to 6 ("Informational")
## https://en.wikipedia.org/wiki/Syslog#Severity_level
#accesslog.syslog-level     = 6

#
#######################################################################