adjust the log level for released version

Change-Id: Id874cc5b84a1c236dc00d9430867a913b0417beb
This commit is contained in:
lane.wei 2022-07-16 13:55:15 +08:00 committed by Lane.Wei
parent 4544dad62c
commit 0f987e993a
3 changed files with 3 additions and 7 deletions

View file

@ -1448,7 +1448,6 @@ int CLI::run(int argc, char **argv)
bool CLI::setup(int argc, char **argv)
{
#if !BBL_RELEASE_TO_PUBLIC
{
Slic3r::set_logging_level(1);
const char *loglevel = boost::nowide::getenv("BBL_LOGLEVEL");
@ -1459,10 +1458,6 @@ bool CLI::setup(int argc, char **argv)
boost::nowide::cerr << "Invalid BBL_LOGLEVEL environment variable: " << loglevel << std::endl;
}
}
#else
//set to fatal
Slic3r::set_logging_level(0);
#endif
// Detect the operating system flavor after SLIC3R_LOGLEVEL is set.
detect_platform();