Debug logging with systemd-resolved
Published: 23 September 2022
Note: this article is old and may contain outdated or incorrect information.
- Add an override.
sudo systemctl edit systemd-resolved
[Service]
Environment=SYSTEMD_LOG_LEVEL=debug
- Make changes active.
sudo systemctl restart systemd-resolved
- View logs.
journalctl -u systemd-resolved -f
And when you're done, undo all these changes.
sudo systemctl revert systemd-resolved
sudo systemctl restart systemd-resolved`
Related Memos: