core: log changes to the profile timestamp

This commit is contained in:
Thomas Haller
2020-05-27 17:13:20 +02:00
parent c3db3e0044
commit a9d20141b9

View File

@@ -2151,6 +2151,9 @@ nm_settings_connection_update_timestamp (NMSettingsConnection *self,
priv->timestamp = timestamp; priv->timestamp = timestamp;
priv->timestamp_set = TRUE; priv->timestamp_set = TRUE;
_LOGT ("timestamp: set timestamp %"G_GUINT64_FORMAT,
timestamp);
if (!priv->kf_db_timestamps) if (!priv->kf_db_timestamps)
return; return;
@@ -2191,10 +2194,10 @@ _nm_settings_connection_register_kf_dbs (NMSettingsConnection *self,
if (timestamp != G_MAXUINT64) { if (timestamp != G_MAXUINT64) {
priv->timestamp = timestamp; priv->timestamp = timestamp;
priv->timestamp_set = TRUE; priv->timestamp_set = TRUE;
_LOGT ("read timestamp %"G_GUINT64_FORMAT" from keyfile database \"%s\"", _LOGT ("timestamp: read timestamp %"G_GUINT64_FORMAT" from keyfile database \"%s\"",
timestamp, nm_key_file_db_get_filename (priv->kf_db_timestamps)); timestamp, nm_key_file_db_get_filename (priv->kf_db_timestamps));
} else } else
_LOGT ("no timestamp from keyfile database \"%s\"", _LOGT ("timestamp: no timestamp from keyfile database \"%s\"",
nm_key_file_db_get_filename (priv->kf_db_timestamps)); nm_key_file_db_get_filename (priv->kf_db_timestamps));
} }