From 6c778d19a789445b794fe79f10570a393bcee64e Mon Sep 17 00:00:00 2001 From: =?utf8?q?Michal=20Voc=C5=AF?= Date: Fri, 9 Sep 2011 08:05:39 +0000 Subject: [PATCH] add job summary into MSG message --- org.glite.lb.logger-msg/src/activemq_cpp_plugin.cpp | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/org.glite.lb.logger-msg/src/activemq_cpp_plugin.cpp b/org.glite.lb.logger-msg/src/activemq_cpp_plugin.cpp index 15efa86..7247eac 100644 --- a/org.glite.lb.logger-msg/src/activemq_cpp_plugin.cpp +++ b/org.glite.lb.logger-msg/src/activemq_cpp_plugin.cpp @@ -184,6 +184,10 @@ OutputPlugin::createMessage(edg_wll_JobStat &state_out) if(state_out.reason) { body << "statusReason: \"" << state_out.reason << "\", "; } + /* summaries */ + if(state_out.summary) { + body << "summary: " << state_out.summary << ", "; + } body << "}"; cms_msg->setText(body.str().c_str()); -- 1.8.2.3