diff options
author | Yu Watanabe <watanabe.yu+github@gmail.com> | 2021-01-17 07:12:28 +0100 |
---|---|---|
committer | Yu Watanabe <watanabe.yu+github@gmail.com> | 2021-01-31 17:13:44 +0100 |
commit | d2acb93dc52b23a9e5d36dda48c1988aa6e9adf1 (patch) | |
tree | 011b4f6b2ca1ad39cc964ef66f3f5c6e2d91608e /src/journal/journalctl.c | |
parent | log: make tools also read the kernel command line when run as a service (diff) | |
download | systemd-d2acb93dc52b23a9e5d36dda48c1988aa6e9adf1.tar.xz systemd-d2acb93dc52b23a9e5d36dda48c1988aa6e9adf1.zip |
tree-wide: enable colorized logging for daemons when run in console
It may be useful when debugging daemons.
Diffstat (limited to 'src/journal/journalctl.c')
-rw-r--r-- | src/journal/journalctl.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/journal/journalctl.c b/src/journal/journalctl.c index dee0a0835b..94fc3472be 100644 --- a/src/journal/journalctl.c +++ b/src/journal/journalctl.c @@ -2145,7 +2145,7 @@ int main(int argc, char *argv[]) { int n_shown = 0, r, poll_fd = -1; setlocale(LC_ALL, ""); - log_setup_cli(); + log_setup(); /* Increase max number of open files if we can, we might needs this when browsing journal files, which might be * split up into many files. */ |