aboutsummaryrefslogtreecommitdiff
path: root/notify.c
diff options
context:
space:
mode:
authorDaniel Eklöf <daniel@ekloef.se>2024-07-23 10:12:50 +0000
committerDaniel Eklöf <daniel@ekloef.se>2024-07-23 10:12:50 +0000
commit9814cf57792f43e95755bcf62237ae759c453645 (patch)
tree56e55d40044037acbc2444499cd725cd5d7a250b /notify.c
parentosc: cleanup (diff)
notify: clean up logging messages
Diffstat (limited to 'notify.c')
-rw-r--r--notify.c6
1 files changed, 4 insertions, 2 deletions
diff --git a/notify.c b/notify.c
index af89838b..9a9311ee 100644
--- a/notify.c
+++ b/notify.c
@@ -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;
}