diff options
author | Lubomir Rintel <lkundrak@v3.sk> | 2022-10-11 15:51:32 +0200 |
---|---|---|
committer | Lubomir Rintel <lkundrak@v3.sk> | 2022-10-11 16:21:31 +0200 |
commit | 5a7f2c4d8f2b9ac47aa27440920dca59cf26fc3a (patch) | |
tree | 2d2c160f6400f22d65ff2bd96d3f0e9e7e1c826a | |
parent | 93ec6abf16a5af54b96a9ee953c3cca8cb437449 (diff) |
team: log port config when it's setlr/team-log-config
Log the port config at trace level. Helps making debugging less
miserable.
-rw-r--r-- | src/core/devices/team/nm-device-team.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/core/devices/team/nm-device-team.c b/src/core/devices/team/nm-device-team.c index 49ce953df1..74ae4bdf13 100644 --- a/src/core/devices/team/nm-device-team.c +++ b/src/core/devices/team/nm-device-team.c @@ -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); |