Thomas D. wrote on 06/08/2022:
Package: kea
Version: 2.0.2-3
Severity: normal
Dear Maintainer,
the package will install
/etc/kea/kea-{ctrl-agent,dhcp4,dhcp6,dhcp-ddns}.conf
files which all have set
> "loggers": [
> {
> "output_options": [
> {
> // Specifies the output file. There are several
special values
> // supported:
> // - stdout (prints on standard output)
> // - stderr (prints on standard error)
> // - syslog (logs to syslog)
> // - syslog:name (logs to syslog using specified name)
> // Any other value is considered a name of the file
> "output":
"/var/log/kea-{ctrl-agent,dhcp4,dhcp6,dhcp-ddns}.log"
> }
> ]
> }
> ]
However, default kea services cannot write to this location because they
are running as "_kea" user on Debian by default.
You are already creating /var/log/kea so I would suggest to update
default config to use that directory by default.
Thanks, I brought this up upstream:
https://gitlab.isc.org/isc-projects/kea/-/issues/2220#note_313724
I'd like to to get an ACK from upstream on using that path, but even if
we don't I'll fix this before the bookworm freeze.
Note to self: we also don't want to set KEA_LOGGER_DESTINATION in the
systemd service files, as with systemd it's fine to get the early
logging messages (pre conf file parse) to stdout. See:
doc/sphinx/arm/logging.rst
Paride