Configure Multipass's default logging level
See also: Logging levels
This document demonstrates how to configure the default logging level of the Multipass service. Changing the logging level can be useful, for example, if you want to decrease the size of logging files or get more detailed information about what the daemon is doing. Logging levels can be set to one of the following: error
, warning
, info
, debug
, or trace
, with case sensitivity.
Changing the default logging level
First, stop the Multipass daemon:
sudo snap stop multipass
After that, create the override config file, replacing <level>
with your desired logging level:
sudo mkdir /etc/systemd/system/snap.multipass.multipassd.service.d/
sudo tee /etc/systemd/system/snap.multipass.multipassd.service.d/override.conf <<EOF
[Service]
ExecStart=
ExecStart=/usr/bin/snap run multipass.multipassd --verbosity <level>
EOF
sudo systemctl daemon-reload
Finally, start the Multipass daemon:
sudo snap start multipass
Errors or typos? Topics missing? Hard to read? Let us know or open an issue on GitHub.