1
0
mirror of https://github.com/OpenNebula/one.git synced 2025-03-21 14:50:08 +03:00

Feature #1678: ImageManagerDriver log formatting

This commit is contained in:
Carlos Martín 2013-10-22 11:36:45 +02:00
parent 3cf353dcff
commit 2ae654778c

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;
@ -677,7 +678,7 @@ void ImageManagerDriver::process_poll(Datastore* ds, const string &monitor_str)
dspool->update(ds);
oss << "Datastore " << ds->get_cluster_name()
oss << "Datastore " << ds->get_name()
<< " (" << ds->get_oid() << ") successfully monitored.";
NebulaLog::log("ImM", Log::INFO, oss);