tree-wide: enable colorized logging for daemons when run in console

It may be useful when debugging daemons.
This commit is contained in:
Yu Watanabe
2021-02-01 01:13:44 +09:00
parent 74189020eb
commit d2acb93dc5
72 changed files with 72 additions and 85 deletions
+1 -1
View File
@@ -1395,7 +1395,7 @@ static int run(int argc, char *argv[]) {
return log_error_errno(SYNTHETIC_ERRNO(EINVAL),
"This program requires at least two arguments.");
log_setup_service();
log_setup();
cryptsetup_enable_logging(cd);