diff --git a/src/priority_executor/src/priority_memory_strategy.cpp b/src/priority_executor/src/priority_memory_strategy.cpp index 8264840..bd3e4ea 100644 --- a/src/priority_executor/src/priority_memory_strategy.cpp +++ b/src/priority_executor/src/priority_memory_strategy.cpp @@ -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 <>