From f87628e2abd98348a218de581ca93271a99d1591 Mon Sep 17 00:00:00 2001 From: Ian Fan Date: Fri, 4 Jan 2019 11:57:31 +0000 Subject: swaybar: improve tray logging --- swaybar/tray/host.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'swaybar/tray/host.c') diff --git a/swaybar/tray/host.c b/swaybar/tray/host.c index 30339fec..cc8dd188 100644 --- a/swaybar/tray/host.c +++ b/swaybar/tray/host.c @@ -21,7 +21,7 @@ static int cmp_sni_id(const void *item, const void *cmp_to) { static void add_sni(struct swaybar_tray *tray, char *id) { int idx = list_seq_find(tray->items, cmp_sni_id, id); if (idx == -1) { - wlr_log(WLR_DEBUG, "Registering Status Notifier Item '%s'", id); + wlr_log(WLR_INFO, "Registering Status Notifier Item '%s'", id); struct swaybar_sni *sni = create_sni(id, tray); if (sni) { list_add(tray->items, sni); @@ -54,7 +54,7 @@ static int handle_sni_unregistered(sd_bus_message *msg, void *data, struct swaybar_tray *tray = data; int idx = list_seq_find(tray->items, cmp_sni_id, id); if (idx != -1) { - wlr_log(WLR_DEBUG, "Unregistering Status Notifier Item '%s'", id); + wlr_log(WLR_INFO, "Unregistering Status Notifier Item '%s'", id); destroy_sni(tray->items->items[idx]); list_del(tray->items, idx); set_bar_dirty(tray->bar); -- cgit v1.2.3-54-g00ecf