summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>2019-08-02 15:00:02 +0200
committerZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>2019-08-20 12:01:23 +0200
commit8788a568635a27267af61c9c85baf00b74ac161b (patch)
treeeb21db4e1c67d42eef9508ada77dea0816a05932
parent9fc879d415053475907333f8110aadefdc088a30 (diff)
downloadsystemd-8788a568635a27267af61c9c85baf00b74ac161b.tar.gz
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.
-rw-r--r--src/libsystemd/sd-event/test-event.c4
1 files 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();