mirror of
https://gitlab.freedesktop.org/NetworkManager/NetworkManager.git
synced 2025-12-25 17:40:08 +01:00
team: log port config when it's set
Log the port config at trace level. Helps making debugging less miserable. https://gitlab.freedesktop.org/NetworkManager/NetworkManager/-/merge_requests/1423
This commit is contained in:
parent
a721413d20
commit
020c8ff2e2
1 changed files with 1 additions and 0 deletions
|
|
@ -144,6 +144,7 @@ _update_port_config(NMDeviceTeam *self, const char *port_iface, const char *sani
|
|||
NMDeviceTeamPrivate *priv = NM_DEVICE_TEAM_GET_PRIVATE(self);
|
||||
int err;
|
||||
|
||||
_LOGT(LOGD_TEAM, "setting port config: %s", sanitized_config);
|
||||
err = teamdctl_port_config_update_raw(priv->tdc, port_iface, sanitized_config);
|
||||
if (err != 0) {
|
||||
_LOGE(LOGD_TEAM, "failed to update config for port %s (err=%d)", port_iface, err);
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue