Your submission was sent successfully! Close

Thank you for contacting us. A member of our team will be in touch shortly. Close

You have successfully unsubscribed! Close

Thank you for signing up for our newsletter!
In these regular emails you will find the latest updates about Ubuntu and upcoming events where you can meet our team.Close

Logging Messages

This section shows how to modify the logging levels by NetworkManager.

NetworkManager supports on the fly changing of the logging levels and allows for a fine grained control over what is logged.

First check what is the current logging setup, type:

$ nmcli general logging

As a result you will be presented with the information about the current configuration:

LEVEL  DOMAINS                                                                                                                                                                                                                 
INFO   PLATFORM,RFKILL,ETHER,WIFI,BT,MB,DHCP4,DHCP6,PPP,IP4,IP6,AUTOIP4,DNS,VPN,SHARING,SUPPLICANT,AGENTS,SETTINGS,SUSPEND,CORE,DEVICE,OLPC,INFINIBAND,FIREWALL,ADSL,BOND,VLAN,BRIDGE,TEAM,CONCHECK,DCB,DISPATCH,AUDIT,SYSTEMD 

It is possible to change the level either globally or for each domain separately. The command to achieve this is:

$ nmcli general logging [level <level> [domain <domain>]]

The is the desired log level. You can choose from the following:

ERR: will log only critical errors
WARN: will log warning messages
INFO: will log various informational messages
DEBUG: enables verbose logging for debugging purposes
is the category of messages that shall be logged with given severity. WIFI will include only WiFi related messages, IP4 will include only IPv4 related messages, and so on.

This page was last modified 29 days ago. Help improve this document in the forum.