diff options
| author | Daniel Eklöf <daniel@ekloef.se> | 2024-07-23 10:12:50 +0000 |
|---|---|---|
| committer | Daniel Eklöf <daniel@ekloef.se> | 2024-07-23 10:12:50 +0000 |
| commit | 9814cf57792f43e95755bcf62237ae759c453645 (patch) | |
| tree | 56e55d40044037acbc2444499cd725cd5d7a250b | |
| parent | osc: cleanup (diff) | |
notify: clean up logging messages
| -rw-r--r-- | notify.c | 6 |
1 files changed, 4 insertions, 2 deletions
@@ -189,7 +189,8 @@ notify_notify(struct terminal *term, struct notification *notif) bool track_notification = notif->focus || notif->report; - LOG_DBG("notify: title=\"%s\", body=\"%s\"", title, body); + LOG_DBG("notify: title=\"%s\", body=\"%s\", icon=\"%s\" (tracking: %s)", + title, body, icon_name_or_path, track_notification ? "yes" : "no"); xassert(title != NULL); if (title == NULL) @@ -309,7 +310,7 @@ add_icon(struct notification_icon *icon, const char *id, const char *symbolic_na icon->tmp_file_on_disk = xstrdup(name); } - LOG_DBG("added icon to cache: %s: sym=%s, file=%s", + LOG_DBG("added icon to cache: ID=%s: sym=%s, file=%s", icon->id, icon->symbolic_name, icon->tmp_file_on_disk); } @@ -355,6 +356,7 @@ notify_icon_del(struct terminal *term, const char *id) if (icon->id == NULL || strcmp(icon->id, id) != 0) continue; + LOG_DBG("expelled %s from the notification icon cache", icon->id); notify_icon_free(icon); return; } |
