diff options
Diffstat (limited to 'package/lighttpd/files/conf.d/access_log.conf')
-rw-r--r-- | package/lighttpd/files/conf.d/access_log.conf | 27 |
1 files changed, 27 insertions, 0 deletions
diff --git a/package/lighttpd/files/conf.d/access_log.conf b/package/lighttpd/files/conf.d/access_log.conf new file mode 100644 index 000000000..fe150749a --- /dev/null +++ b/package/lighttpd/files/conf.d/access_log.conf @@ -0,0 +1,27 @@ +####################################################################### +## +## Corresponding documentation: +## +## http://www.lighttpd.net/documentation/access.html +## +server.modules += ( "mod_accesslog" ) + +## +## Default access log. +## +#accesslog.filename = log_root + "/access.log" + +## +## The default format produces CLF compatible output. +## For available parameters see access.txt +## +#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" + +# +####################################################################### |