16.3. Temporarily setting log levels at run time by using nmcli
You can change the log level at run time by using nmcli.
Procedure
Optional: Display the current logging settings:
# nmcli general logging LEVEL DOMAINS INFO PLATFORM,RFKILL,ETHER,WIFI,BT,MB,DHCP4,DHCP6,PPP,WIFI_SCAN,IP4,IP6,A UTOIP4,DNS,VPN,SHARING,SUPPLICANT,AGENTS,SETTINGS,SUSPEND,CORE,DEVICE,OLPC, WIMAX,INFINIBAND,FIREWALL,ADSL,BOND,VLAN,BRIDGE,DBUS_PROPS,TEAM,CONCHECK,DC B,DISPATCHTo modify the logging level and domains, use the following options:
To set the log level for all domains to the same
LEVEL, enter:# nmcli general logging level LEVEL domains ALLTo change the level for specific domains, enter:
# nmcli general logging level LEVEL domains DOMAINSNote that updating the logging level using this command disables logging for all the other domains.
To change the level of specific domains and preserve the level of all other domains, enter:
# nmcli general logging level KEEP domains DOMAIN:LEVEL,DOMAIN:LEVEL