]> git.ipfire.org Git - thirdparty/systemd.git/blobdiff - src/journal-remote/journal-remote-main.c
tree-wide: Use log_setup() everywhere
[thirdparty/systemd.git] / src / journal-remote / journal-remote-main.c
index 545a1c624010fd09b7862d27e3045d0784e984aa..64f8125df3d3b080e21fffe6bbf3a72f33059002 100644 (file)
@@ -1070,8 +1070,7 @@ static int run(int argc, char **argv) {
         _cleanup_free_ char *cert = NULL, *trust = NULL;
         int r;
 
-        log_show_color(true);
-        log_parse_environment();
+        log_setup();
 
         /* The journal merging logic potentially needs a lot of fds. */
         (void) rlimit_nofile_bump(HIGH_RLIMIT_NOFILE);