Discussion:
log queries on DHCPServer provided by systemd-networkd
Add Reply
Pascal
2017-05-25 07:15:57 UTC
Reply
Permalink
Raw Message
hi,

how to enable DHCPServer log queries ? I can't find any trace of
conversations in the journal.

regards, lacsaP.
Lennart Poettering
2017-05-29 14:05:52 UTC
Reply
Permalink
Raw Message
Post by Pascal
hi,
how to enable DHCPServer log queries ? I can't find any trace of
conversations in the journal.
You can turn on debug logging in networkd by setting the env var
$SYSTEMD_LOG_LEVEL=debug for systemd-networkd. You can do that
relatively easily by invoking "systemctl edit systemd-network", and
then typing.

[Service]
Environment=SYSTEMD_LOG_LEVEL=debug

and then restarting networkd.

Lennart
--
Lennart Poettering, Red Hat
Loading...