aboutsummaryrefslogtreecommitdiff
path: root/libseat/libseat.c
diff options
context:
space:
mode:
authorKenny Levinsen <kl@kl.wtf>2020-08-28 19:29:03 +0200
committerKenny Levinsen <kl@kl.wtf>2020-08-28 22:40:10 +0200
commit1e6d4f451f5e166fbf59c10bd801e5d47415dd22 (patch)
treebbff1b2ce55e886c45b5bb97dcf4e55a57b2fc00 /libseat/libseat.c
parent27c1914625a2e118a5986a035dffb0a7b952bf89 (diff)
libseat: Only print backend attempts for matches
Diffstat (limited to 'libseat/libseat.c')
-rw-r--r--libseat/libseat.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/libseat/libseat.c b/libseat/libseat.c
index dd5635b..d7ab361 100644
--- a/libseat/libseat.c
+++ b/libseat/libseat.c
@@ -42,13 +42,13 @@ struct libseat *libseat_open_seat(struct libseat_seat_listener *listener, void *
char *backend_type = getenv("LIBSEAT_BACKEND");
struct libseat *backend = NULL;
for (const struct named_backend *iter = impls; iter->backend != NULL; iter++) {
- log_debugf("libseat_open_seat: trying backend '%s'", iter->name);
if (backend_type != NULL && strcmp(backend_type, iter->name) != 0) {
continue;
}
+ log_infof("Trying backend '%s'", iter->name);
backend = iter->backend->open_seat(listener, data);
if (backend != NULL) {
- log_infof("libseat_open_seat: seat opened with backend '%s'", iter->name);
+ log_infof("Seat opened with backend '%s'", iter->name);
break;
}
}