Feature #2406: Make all monitoring log messages debug level

This commit is contained in:
Carlos Martín committed 2013-11-11 15:33:36 +01:00
1 parent 149bfbaa17
commit 391d759cd3
6 files changed
+8 -7

No files matched your search

+1 -1
View File
@@ -338,7 +338,7 @@ void InformationManager::timer_action()
oss << "Monitoring host " << host->get_name() << " ("
<< host->get_oid() << ")";
NebulaLog::log("InM",Log::INFO,oss);
NebulaLog::log("InM",Log::DEBUG,oss);
imd = get(host->get_im_mad());
+1 -1
View File
@@ -219,7 +219,7 @@ void InformationManagerDriver::protocol(const string& message) const
oss << "Datastore " << ds->get_name() <<
" (" << ds->get_oid() << ") successfully monitored.";
NebulaLog::log("ImM", Log::INFO, oss);
NebulaLog::log("ImM", Log::DEBUG, oss);
dspool->update(ds);
}
+1 -1
View File
@@ -223,7 +223,7 @@ void ImageManager::monitor_datastore(int ds_id)
oss << "Monitoring datastore " << ds->get_name() << " (" << ds_id << ")";
NebulaLog::log("InM", Log::INFO, oss);
NebulaLog::log("InM", Log::DEBUG, oss);
ds->unlock();
+3 -2
View File
@@ -195,7 +195,8 @@ static int cp_action(istringstream& is,
image->unlock();
NebulaLog::log("ImM", Log::INFO, "Image copied and ready to use.");
oss << "Image (" << id << ") copied and ready to use.";
NebulaLog::log("ImM", Log::INFO, oss);
return ds_id;
@@ -661,7 +662,7 @@ static void monitor_action(istringstream& is,
oss << "Datastore " << ds_name << " (" << id << ") successfully monitored.";
NebulaLog::log("ImM", Log::INFO, oss);
NebulaLog::log("ImM", Log::DEBUG, oss);
return;
}
+1 -1
View File
@@ -1551,7 +1551,7 @@ void VirtualMachineManager::timer_action()
os.str("");
os << "Monitoring VM " << *it << ".";
NebulaLog::log("VMM", Log::INFO, os);
NebulaLog::log("VMM", Log::DEBUG, os);
vmd = get(vm->get_vmm_mad());
+1 -1
View File
@@ -635,7 +635,7 @@ void VirtualMachineManagerDriver::process_poll(
}
oss << "VM " << vm->get_oid() << " successfully monitored: " << monitor_str;
NebulaLog::log("VMM", Log::INFO, oss);
NebulaLog::log("VMM", Log::DEBUG, oss);
vm->update_info(memory, cpu, net_tx, net_rx, custom);