complete change default log level to Warn

This commit is contained in:
Michael Davidsaver
2021-05-05 20:06:29 -07:00
parent 383f332d20
commit 5d64bca234
4 changed files with 4 additions and 4 deletions
+1 -1
View File
@@ -234,7 +234,7 @@ Level logger::init()
auto lvl = this->lvl.load();
if(lvl==Level(-1)) {
// maybe we initialize
if(this->lvl.compare_exchange_strong(lvl, Level::Err)) {
if(this->lvl.compare_exchange_strong(lvl, Level::Warn)) {
// logger now has default config of Level::Err
// we will fully initialize
epicsThreadOnce(&logger_once, &logger_prepare, nullptr);