diff options
Diffstat (limited to 'src/journal/test-journal-match.c')
-rw-r--r-- | src/journal/test-journal-match.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/journal/test-journal-match.c b/src/journal/test-journal-match.c index 4e5ad1791a..ba415fcc38 100644 --- a/src/journal/test-journal-match.c +++ b/src/journal/test-journal-match.c @@ -8,13 +8,14 @@ #include "journal-internal.h" #include "log.h" #include "string-util.h" +#include "tests.h" #include "util.h" int main(int argc, char *argv[]) { _cleanup_(sd_journal_closep) sd_journal*j = NULL; _cleanup_free_ char *t; - log_set_max_level(LOG_DEBUG); + test_setup_logging(LOG_DEBUG); assert_se(sd_journal_open(&j, 0) >= 0); |