From 8788a568635a27267af61c9c85baf00b74ac161b Mon Sep 17 00:00:00 2001 From: Zbigniew Jędrzejewski-Szmek Date: Fri, 2 Aug 2019 15:00:02 +0200 Subject: test-event: stop debugging spew Ubuntu autopkgtests print output from all tests, and test-event produces a lot of it. Let's cut it down to reasonable size. --- src/libsystemd/sd-event/test-event.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/libsystemd/sd-event/test-event.c b/src/libsystemd/sd-event/test-event.c index 224ea93a77..954b93ada0 100644 --- a/src/libsystemd/sd-event/test-event.c +++ b/src/libsystemd/sd-event/test-event.c @@ -395,7 +395,7 @@ static int inotify_handler(sd_event_source *s, const struct inotify_event *ev, v } else if (ev->mask & IN_CREATE) { unsigned i; - log_info("inotify-handler <%s>: create on %s", description, ev->name); + log_debug("inotify-handler <%s>: create on %s", description, ev->name); if (!streq(ev->name, "sub")) { assert_se(safe_atou(ev->name, &i) >= 0); @@ -483,7 +483,7 @@ static void test_inotify(unsigned n_create_events) { } int main(int argc, char *argv[]) { - test_setup_logging(LOG_DEBUG); + test_setup_logging(LOG_INFO); test_basic(); test_sd_event_now(); -- cgit v1.2.3