Systemd/networkd: Difference between revisions
m Add note that limitation to systemd.network.netdevs was addressed as of systemd v257 |
→Debugging: note runtime log level changing |
||
| Line 78: | Line 78: | ||
<syntaxhighlight lang="nix"> | <syntaxhighlight lang="nix"> | ||
systemd.services."systemd-networkd".environment.SYSTEMD_LOG_LEVEL = "debug"; | systemd.services."systemd-networkd".environment.SYSTEMD_LOG_LEVEL = "debug"; | ||
</syntaxhighlight>Log level can also be changed at runtime with<syntaxhighlight lang="bash"> | |||
$ systemctl service-log-level systemd-networkd.service debug | |||
# or | |||
$ systemctl service-log-level systemd-networkd.service info | |||
</syntaxhighlight> | </syntaxhighlight> | ||