[systemd-devel] log queries on DHCPServer provided by systemd-networkd

Lennart Poettering lennart at poettering.net
Mon May 29 14:05:52 UTC 2017


On Thu, 25.05.17 09:15, Pascal (patatetom at gmail.com) wrote:

> 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


More information about the systemd-devel mailing list