diff options
author | Yu Watanabe <watanabe.yu+github@gmail.com> | 2022-07-07 16:38:54 +0900 |
---|---|---|
committer | Yu Watanabe <watanabe.yu+github@gmail.com> | 2022-07-07 16:40:06 +0900 |
commit | 158fdd5326a750fe01fcaa76ac4a56fe197cf1aa (patch) | |
tree | 769fb699a46fe12bf20627f556fb02a0fbb089dd /src/systemctl/systemctl.c | |
parent | b5fe371c0ea1814738b685634c5d405cfb750a6a (diff) | |
download | systemd-158fdd5326a750fe01fcaa76ac4a56fe197cf1aa.tar.gz |
systemctl: enable colorized logging by default
Diffstat (limited to 'src/systemctl/systemctl.c')
-rw-r--r-- | src/systemctl/systemctl.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/systemctl/systemctl.c b/src/systemctl/systemctl.c index 003d2f0c25..fa32c67a08 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); |