summaryrefslogtreecommitdiff
path: root/src/test/test-journal-importer.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/test/test-journal-importer.c')
-rw-r--r--src/test/test-journal-importer.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/test/test-journal-importer.c b/src/test/test-journal-importer.c
index 8f09d5ad2f..c1ceb0bbd8 100644
--- a/src/test/test-journal-importer.c
+++ b/src/test/test-journal-importer.c
@@ -69,8 +69,7 @@ static void test_bad_input(void) {
}
int main(int argc, char **argv) {
- log_set_max_level(LOG_DEBUG);
- log_parse_environment();
+ test_setup_logging(LOG_DEBUG);
test_basic_parsing();
test_bad_input();