From bfe4b78b0e8aa02f2c46fd87f442d38864b3f75c Mon Sep 17 00:00:00 2001 From: Noisyfox Date: Sat, 8 Nov 2025 11:07:24 +0800 Subject: [PATCH] Make sure app version is output in log regardless of log level, also show build git hash in log --- src/slic3r/GUI/GUI_App.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/slic3r/GUI/GUI_App.cpp b/src/slic3r/GUI/GUI_App.cpp index 07184aab77..a0d896700b 100644 --- a/src/slic3r/GUI/GUI_App.cpp +++ b/src/slic3r/GUI/GUI_App.cpp @@ -2091,6 +2091,8 @@ void GUI_App::init_app_config() set_log_path_and_level(log_filename, 3); #endif + BOOST_LOG_TRIVIAL(info) << boost::format("gui mode, Current OrcaSlicer Version %1% build %2%") % SoftFever_VERSION % GIT_COMMIT_HASH; + //BBS: remove GCodeViewer as seperate APP logic if (!app_config) app_config = new AppConfig(); @@ -2384,7 +2386,6 @@ bool GUI_App::on_init_inner() } #endif - BOOST_LOG_TRIVIAL(info) << boost::format("gui mode, Current OrcaSlicer Version %1%")%SoftFever_VERSION; BOOST_LOG_TRIVIAL(info) << get_system_info(); // initialize label colors and fonts