1
0
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:
Carlos Martín 2013-07-16 16:51:40 +02:00
parent 5875969a60
commit f53fdb3d4a

View File

@ -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);
}