From 102dc123e88d500f73762f74b9cdfcca51f6071a Mon Sep 17 00:00:00 2001 From: Max Kellermann Date: Tue, 14 Mar 2023 20:25:27 +0100 Subject: [PATCH] LogBackend: log to stderr (regression fix) --- src/LogBackend.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/LogBackend.cxx b/src/LogBackend.cxx index 89f8f57ea..ce09afb49 100644 --- a/src/LogBackend.cxx +++ b/src/LogBackend.cxx @@ -147,7 +147,7 @@ LogFinishSysLog() noexcept static void FileLog(const Domain &domain, std::string_view message) noexcept { - fmt::print("{}{}: {}\n", + fmt::print(stderr, "{}{}: {}\n", enable_timestamp ? log_date() : "", domain.GetName(), StripRight(message));