]> git.ipfire.org Git - thirdparty/systemd.git/blobdiff - src/journal/test-catalog.c
Merge pull request #10070 from keszybz/test-reporting
[thirdparty/systemd.git] / src / journal / test-catalog.c
index ea1e2a8cd969f960000c618be2ff62cee51b722e..e9a751bdfd75ddd307f13ed3d6f4e32b822ce396 100644 (file)
@@ -206,9 +206,7 @@ int main(int argc, char *argv[]) {
 
         setlocale(LC_ALL, "de_DE.UTF-8");
 
-        log_set_max_level(LOG_DEBUG);
-        log_parse_environment();
-        log_open();
+        test_setup_logging(LOG_DEBUG);
 
         /* If test-catalog is located at the build directory, then use catalogs in that.
          * If it is not, e.g. installed by systemd-tests package, then use installed catalogs. */