diff --git a/src/sysalert/email.py b/src/sysalert/email.py index d9163a6..c2545de 100644 --- a/src/sysalert/email.py +++ b/src/sysalert/email.py @@ -52,7 +52,7 @@ def failure(name, failures, config): reader.add_match(_SYSTEMD_INVOCATION_ID=latest_inv_id) journal_txt = "\n".join( [ - f'{entry["_SOURCE_REALTIME_TIMESTAMP"]}: {entry["MESSAGE"]}' + entry["MESSAGE"] for entry in list(reader)[-200:] ])