Forums » Development »
[Solved] Possible gap in mod_accesslog documentation
Added by arcsector 10 months ago
I see that in https://redmine.lighttpd.net/issues/2800 there was a resolution linked for a syslog facility option (https://redmine.lighttpd.net/projects/lighttpd/repository/14/revisions/a8561450a58d2b708195be5a73e75a0c498819eb) that is absent from the documentation for mod_accesslog here: https://redmine.lighttpd.net/projects/lighttpd/wiki/Mod_accesslog
I would expect to see some documentation of this feature, if it in fact was implemented and merged to the package. Am I missing something or am I perhaps reading this wrong, or should there be a documentation entry for this?
Thanks for the help - very excited to start recommending lighttpd to everyone!
Replies (2)
RE: Possible gap in mod_accesslog documentation - Added by gstrauss 10 months ago
server.syslog-facility
supports server.errorlog-use-syslog
and both are documented on Configuration: Options
It is true that if server.syslog-facility
is configured and server.errorlog-use-syslog = "enable"
, then the same syslog facility is used if mod_accesslog is configured with accesslog.use-syslog = "enable"
. However, looking at the code, if server.errorlog-use-syslog
is not enabled, then server.syslog-facility
is not currently used, even if accesslog.use-syslog = "enable"
. If I change that, then I'll update mod_accesslog to add a reference to server.syslog-facility
.
In any case, you are also welcome to edit the wiki if you think something could be made clearer. Constructive contributions are encouraged (and may be further reviewed and edited).
RE: Possible gap in mod_accesslog documentation - Added by gstrauss 10 months ago
I added some shared code to the tip of my development branch: https://git.lighttpd.net/lighttpd/lighttpd1.4/src/branch/personal/gstrauss/master and added a short note to mod_accesslog about server.syslog-facility
(commits might change)
https://git.lighttpd.net/lighttpd/lighttpd1.4/commit/33b82bbb7603d8f6a143425ce8e3b115f59317d8
https://git.lighttpd.net/lighttpd/lighttpd1.4/commit/98efe7a07e43906ac7e8cffe4adff6ff8df16846