fix `log access path' with chroot We should open the log file inside the chroot; missed in 4acf495f41d2c26136e99072293ca8b9bff91dc0. See

convert remaining code to the imsg getters Now gmid doesn't touch anymore the internals of the imsg structs.

configure: add --sysconfdir / $SYSCONFDIR handling so that we don't have to hardcode /etc in gmid.c. Helps on systems like FreeBSD where the non-base programs are expected to look for their config in /usr/local/etc.

fix configtest with chroot The configtest checks try to open the root directories too, operation that can fail when they're expected to be inside a chroot.


tweak log_request() comment gg -> gemexp and better wording.

use the subject' common name as the user field in log

remove debugging leftover

try hard at loading the configuration during conftest (-n) Attempt to do also a few more steps that were previously done only at runtime. This can help verifying that the keypairs are matching for example, but also that there are no typos in the path to the root directories. Was requested some time ago by Marian Mizik, thanks for the feature request!

add `log syslog facility' to use a different syslog(3) facility Was requested ages ago by Karl Jeacle, now that there is some better support for configuring the logging there's no excuse to add this. It helps with filtering from syslog.d / syslog.conf.

actually use the specified log style

change the 'condensed' style to include the size of the request too will be used in the future to log how much byte a titan request uploaded.

add log syslog off; don't turn syslog off when log access is specified


allow to change the logging style; introduce some new ones add `log style <style>'; The old default is called `legacy' now, a new default format is added called `condensed', and `common' and `combined' to mimick Apache httpd and nginx (respectively) are also added.