log whether get_next_executable did anything
This commit is contained in:
parent
ab0915c49f
commit
675c2affc4
1 changed files with 7 additions and 1 deletions
|
@ -627,9 +627,15 @@ void PriorityMemoryStrategy<>::get_next_executable(
|
|||
// returning with an executable
|
||||
// remove from all_executables_ map
|
||||
all_executables_.erase(next_exec);
|
||||
|
||||
std::stringstream oss;
|
||||
oss << "{\"operation\":\"get_next_executable\", \"result\":\"success\", \"type\":\"" << type << "\"}";
|
||||
log_entry(logger_, oss.str());
|
||||
return;
|
||||
}
|
||||
// nothing found
|
||||
std::stringstream oss;
|
||||
oss << "{\"operation\":\"get_next_executable\", \"result\":\"nothing_found\"}";
|
||||
log_entry(logger_, oss.str());
|
||||
}
|
||||
|
||||
template <>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue