mirror of
https://github.com/OpenNebula/one.git
synced 2025-03-15 18:50:09 +03:00
Fix log level
(cherry picked from commit 580b39c734837dfc62342afedf2208515193cb27)
This commit is contained in:
parent
5875969a60
commit
f53fdb3d4a
@ -193,7 +193,7 @@ public:
|
||||
|
||||
log_level_int = atoi(value.c_str());
|
||||
|
||||
if (0 <= log_level_int && log_level_int <= 3 )
|
||||
if ( Log::ERROR <= log_level_int && log_level_int <= Log::DDDEBUG )
|
||||
{
|
||||
clevel = static_cast<Log::MessageType>(log_level_int);
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user