LogBackend: log to stderr (regression fix)

This commit is contained in:
Max Kellermann 2023-03-14 20:25:27 +01:00
parent b4d0b23369
commit 102dc123e8
1 changed files with 1 additions and 1 deletions

View File

@ -147,7 +147,7 @@ LogFinishSysLog() noexcept
static void static void
FileLog(const Domain &domain, std::string_view message) noexcept FileLog(const Domain &domain, std::string_view message) noexcept
{ {
fmt::print("{}{}: {}\n", fmt::print(stderr, "{}{}: {}\n",
enable_timestamp ? log_date() : "", enable_timestamp ? log_date() : "",
domain.GetName(), domain.GetName(),
StripRight(message)); StripRight(message));