diff --git a/src/slic3r/GUI/GUI_App.cpp b/src/slic3r/GUI/GUI_App.cpp index 35c2c2f49..39182f66b 100644 --- a/src/slic3r/GUI/GUI_App.cpp +++ b/src/slic3r/GUI/GUI_App.cpp @@ -2228,8 +2228,18 @@ bool GUI_App::OnInit() } } +class wxBoostLog : public wxLog +{ + void DoLogText(const wxString &msg) { + + BOOST_LOG_TRIVIAL(warning) << msg.ToUTF8().data(); + } +}; + bool GUI_App::on_init_inner() { + wxLog::SetActiveTarget(new wxBoostLog()); + // Set initialization of image handlers before any UI actions - See GH issue #7469 wxInitAllImageHandlers(); #ifdef NDEBUG