From 28184a96a1c6780327da2f54f900b2be69fc4d55 Mon Sep 17 00:00:00 2001 From: Noisyfox Date: Sat, 8 Nov 2025 11:49:54 +0800 Subject: [PATCH] Enable log auto-flush, this should not really affect performance because by default the log level is warning --- src/libslic3r/utils.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/libslic3r/utils.cpp b/src/libslic3r/utils.cpp index 7b270df890..9b90abe74e 100644 --- a/src/libslic3r/utils.cpp +++ b/src/libslic3r/utils.cpp @@ -354,7 +354,8 @@ void set_log_path_and_level(const std::string& file, unsigned int level) << expr::format_date_time< boost::posix_time::ptime >("TimeStamp", "%Y-%m-%d %H:%M:%S.%f") <<"[Thread " << expr::attr("ThreadID") << "]" << ":" << expr::smessage - ) + ), + keywords::auto_flush = true ); logging::add_common_attributes();