File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -1448,7 +1448,6 @@ int CLI::run(int argc, char **argv)
14481448
14491449bool CLI::setup (int argc, char **argv)
14501450{
1451- #if !BBL_RELEASE_TO_PUBLIC
14521451 {
14531452 Slic3r::set_logging_level (1 );
14541453 const char *loglevel = boost::nowide::getenv (" BBL_LOGLEVEL" );
@@ -1459,10 +1458,6 @@ bool CLI::setup(int argc, char **argv)
14591458 boost::nowide::cerr << " Invalid BBL_LOGLEVEL environment variable: " << loglevel << std::endl;
14601459 }
14611460 }
1462- #else
1463- // set to fatal
1464- Slic3r::set_logging_level (0 );
1465- #endif
14661461
14671462 // Detect the operating system flavor after SLIC3R_LOGLEVEL is set.
14681463 detect_platform ();
Original file line number Diff line number Diff line change @@ -173,7 +173,7 @@ void AppConfig::set_defaults()
173173 set_bool (" developer_mode" , false );
174174
175175 if (get (" severity_level" ).empty ())
176- set (" severity_level" , " trace " );
176+ set (" severity_level" , " info " );
177177
178178 if (get (" dump_video" ).empty ())
179179 set_bool (" dump_video" , false );
Original file line number Diff line number Diff line change @@ -1417,14 +1417,15 @@ bool GUI_App::OnInit()
14171417bool GUI_App::on_init_inner ()
14181418{
14191419 // start log here
1420- #if !BBL_RELEASE_TO_PUBLIC
14211420 std::time_t t = std::time (0 );
14221421 std::tm* now_time = std::localtime (&t);
14231422 std::stringstream buf;
14241423 buf << std::put_time (now_time, " debug_%a_%b_%d_%H_%M_%S.log" );
14251424 std::string log_filename = buf.str ();
1425+ #if !BBL_RELEASE_TO_PUBLIC
14261426 set_log_path_and_level (log_filename, 5 );
14271427#else
1428+ set_log_path_and_level (log_filename, 3 );
14281429#endif
14291430
14301431 // Set initialization of image handlers before any UI actions - See GH issue #7469
You can’t perform that action at this time.
0 commit comments