From: Yu Watanabe Date: Thu, 7 Jul 2022 07:38:54 +0000 (+0900) Subject: systemctl: enable colorized logging by default X-Git-Tag: v252-rc1~709^2~1 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=158fdd5326a750fe01fcaa76ac4a56fe197cf1aa;p=thirdparty%2Fsystemd.git systemctl: enable colorized logging by default --- diff --git a/src/systemctl/systemctl.c b/src/systemctl/systemctl.c index 003d2f0c25d..fa32c67a08e 100644 --- a/src/systemctl/systemctl.c +++ b/src/systemctl/systemctl.c @@ -1113,8 +1113,7 @@ static int run(int argc, char *argv[]) { int r; setlocale(LC_ALL, ""); - log_parse_environment(); - log_open(); + log_setup(); /* The journal merging logic potentially needs a lot of fds. */ (void) rlimit_nofile_bump(HIGH_RLIMIT_NOFILE);