Skip to content

Commit

Permalink
Update main.cc
Browse files Browse the repository at this point in the history
fix #1883
  • Loading branch information
i18nsite authored Mar 2, 2024
1 parent 4a8fb4b commit d750f3e
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/cli/main.cc
Original file line number Diff line number Diff line change
Expand Up @@ -107,6 +107,7 @@ static void InitGoogleLog(const Config *config) {
}
FLAGS_stderrthreshold = google::ERROR;
FLAGS_logtostdout = true;
std::setbuf(stdout, nullptr);
} else {
FLAGS_log_dir = config->log_dir + "/";
if (config->log_retention_days != -1) {
Expand Down

0 comments on commit d750f3e

Please sign in to comment.