mirror of
https://gitlab.freedesktop.org/NetworkManager/NetworkManager.git
synced 2025-12-30 03:50:10 +01:00
core: log connection change with nm_utils_log_connection_diff()
Signed-off-by: Thomas Haller <thaller@redhat.com>
This commit is contained in:
parent
41e0d5b9ce
commit
30b1afd73b
2 changed files with 4 additions and 0 deletions
|
|
@ -470,6 +470,8 @@ nm_settings_connection_replace_settings (NMSettingsConnection *self,
|
|||
*/
|
||||
g_signal_handlers_block_by_func (self, G_CALLBACK (changed_cb), GUINT_TO_POINTER (TRUE));
|
||||
|
||||
nm_utils_log_connection_diff (new_connection, NM_CONNECTION (self), LOGL_DEBUG, LOGD_CORE, "update connection", "++ ");
|
||||
|
||||
nm_connection_replace_settings_from_connection (NM_CONNECTION (self), new_connection);
|
||||
nm_settings_connection_set_flags (self,
|
||||
NM_SETTINGS_CONNECTION_FLAGS_NM_GENERATED | NM_SETTINGS_CONNECTION_FLAGS_NM_GENERATED_ASSUMED,
|
||||
|
|
|
|||
|
|
@ -874,6 +874,8 @@ claim_connection (NMSettings *self,
|
|||
(gpointer) nm_connection_get_path (NM_CONNECTION (connection)),
|
||||
g_object_ref (connection));
|
||||
|
||||
nm_utils_log_connection_diff (NM_CONNECTION (connection), NULL, LOGL_DEBUG, LOGD_CORE, "new connection", "++ ");
|
||||
|
||||
/* Only emit the individual connection-added signal after connections
|
||||
* have been initially loaded.
|
||||
*/
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue