summaryrefslogtreecommitdiffstats
path: root/LogActio/Reporters
diff options
context:
space:
mode:
Diffstat (limited to 'LogActio/Reporters')
-rw-r--r--LogActio/Reporters/HTTPreporter.py2
-rw-r--r--LogActio/Reporters/QpidReporter.py2
-rw-r--r--LogActio/Reporters/SMTPreporter.py2
3 files changed, 3 insertions, 3 deletions
diff --git a/LogActio/Reporters/HTTPreporter.py b/LogActio/Reporters/HTTPreporter.py
index 12dfca3..3e5150c 100644
--- a/LogActio/Reporters/HTTPreporter.py
+++ b/LogActio/Reporters/HTTPreporter.py
@@ -97,7 +97,7 @@ class HTTPreporter(ReporterQueue.ReporterQueue):
def ProcessEvent(self, logfile, prefix, msg, count, threshold):
# Format the report message
msg = {"prefix": prefix, "count": count, "threshold": threshold,
- "message": msg, "logfile": logfile}
+ "message": "|".join(msg), "logfile": logfile}
# Queue the message for sending
self._QueueMsg(0, msg)
diff --git a/LogActio/Reporters/QpidReporter.py b/LogActio/Reporters/QpidReporter.py
index 3295616..6c05df5 100644
--- a/LogActio/Reporters/QpidReporter.py
+++ b/LogActio/Reporters/QpidReporter.py
@@ -114,7 +114,7 @@ class QpidReporter(LogActio.ReporterQueue.ReporterQueue):
def ProcessEvent(self, logfile, prefix, msg, count, threshold):
# Format the report message
msg = {"prefix": prefix, "count": count, "threshold": threshold,
- "message": msg, "logfile": logfile}
+ "message": "|".join(msg), "logfile": logfile}
# Queue the message for sending
self._QueueMsg(0, json.dumps(msg))
diff --git a/LogActio/Reporters/SMTPreporter.py b/LogActio/Reporters/SMTPreporter.py
index bf042f9..802a36a 100644
--- a/LogActio/Reporters/SMTPreporter.py
+++ b/LogActio/Reporters/SMTPreporter.py
@@ -133,7 +133,7 @@ class SMTPreporter(ReporterQueue.ReporterQueue):
LogActio have detected %s events in the %s log file since it started running.\n
The following information was extracted:\n
%s
-""" % (count, logfile, "\n".join(msg.split("|")))}
+""" % (count, logfile, "\n".join(msg))}
# Queue the message for sending
self._QueueMsg(0, msg)