]> granicus.if.org Git - icinga2/commitdiff
compat log: Fix output on notifications.
authorMichael Friedrich <michael.friedrich@netways.de>
Wed, 25 Sep 2013 17:46:32 +0000 (19:46 +0200)
committerMichael Friedrich <michael.friedrich@netways.de>
Wed, 25 Sep 2013 17:46:32 +0000 (19:46 +0200)
components/compat/compatlogger.cpp

index 513fcdb6c4004d43a0d6fece59d3308faec5cb0d..915d75ffae7a6f2c5016f9a6d0761a68f629ff5a 100644 (file)
@@ -317,7 +317,7 @@ void CompatLogger::NotificationSentHandler(const Service::Ptr& service, const Us
                 << notification_type_str << " "
                << "(" << Service::StateToString(service->GetState()) << ");"
                << check_command << ";"
-               << raw_output << author_comment
+               << output << author_comment
                 << "";
 
         {
@@ -333,7 +333,7 @@ void CompatLogger::NotificationSentHandler(const Service::Ptr& service, const Us
                        << notification_type_str << " "
                        << "(" << Service::StateToString(service->GetState()) << ");"
                        << check_command << ";"
-                       << raw_output << author_comment
+                       << output << author_comment
                         << "";
 
                 {