mirror of
https://github.com/OpenNebula/one.git
synced 2024-12-22 13:33:52 +03:00
parent
b70d58ccc4
commit
f63f313ddc
@ -40,7 +40,7 @@ public:
|
||||
DDDEBUG = 5
|
||||
};
|
||||
|
||||
static const char error_names[];
|
||||
static const std::string error_names[];
|
||||
|
||||
Log(const MessageType _level = WARNING):log_level(_level){};
|
||||
|
||||
|
@ -47,7 +47,13 @@
|
||||
# file to log in the oned.log file
|
||||
# syslog to use the syslog facilities
|
||||
# std to use the default log stream (stderr) to use with systemd
|
||||
# debug_level: 0 = ERROR, 1 = WARNING, 2 = INFO, 3 = DEBUG
|
||||
# debug_level:
|
||||
# 0 = ERROR
|
||||
# 1 = WARNING
|
||||
# 2 = INFO
|
||||
# 3 = DEBUG
|
||||
# 4 = DDEBUG
|
||||
# 5 = DDDEBUG
|
||||
# use_vms_location: defines if store VM logs in VMS_LOCATION
|
||||
#
|
||||
#*******************************************************************************
|
||||
|
@ -29,7 +29,7 @@ using namespace std;
|
||||
/* -------------------------------------------------------------------------- */
|
||||
/* -------------------------------------------------------------------------- */
|
||||
|
||||
const char Log::error_names[] ={ 'E', 'W', 'I', 'D', 'D', 'D' };
|
||||
const string Log::error_names[] ={ "E", "W", "I", "D", "DD", "DDD" };
|
||||
|
||||
unsigned int Log::zone_id = 0;
|
||||
|
||||
|
@ -241,7 +241,7 @@ void Nebula::start(bool bootstrap_only)
|
||||
NebulaLog::log("ONE",Log::INFO,os);
|
||||
|
||||
os.str("");
|
||||
os << "Log level:" << clevel << " [0=ERROR,1=WARNING,2=INFO,3=DEBUG]";
|
||||
os << "Log level:" << clevel << " [0=ERROR,1=WARNING,2=INFO,3=DEBUG,4=DDEBUG,5=DDDEBUG]";
|
||||
|
||||
NebulaLog::log("ONE",Log::INFO,os);
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user