Skip to content
Snippets Groups Projects
Commit be678090 authored by Branson Craig Stephens's avatar Branson Craig Stephens
Browse files

Added graceid and alert type to logging of outgoing LVAlert messages.

parent 2baf928c
No related branches found
No related tags found
No related merge requests found
......@@ -191,7 +191,7 @@ def issueXMPPAlert(event, location, alert_type="new", description="", serialized
if settings.USE_LVALERT_OVERSEER:
# Calculate unique message_id and log
message_id = sha1(nodename + msg).hexdigest()
log.info("issueXMPPAlert: sending %s to node %s on %s" % (message_id, nodename, server))
log.info("issueXMPPAlert: sending %s,%s,%s to node %s" % (event.graceid(), alert_type, message_id, nodename))
rdict = manager.dict()
msg_dict = {'node_name': nodename, 'message': msg, 'action': 'push'}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment