mirror of
https://github.com/OrcaSlicer/OrcaSlicer.git
synced 2026-05-14 17:12:07 +00:00
adjust the log level for released version
Change-Id: Id874cc5b84a1c236dc00d9430867a913b0417beb
This commit is contained in:
@@ -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();
|
||||
|
||||
Reference in New Issue
Block a user