Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

backlog in reverse order #74

Open
joeomc opened this issue May 4, 2018 · 0 comments
Open

backlog in reverse order #74

joeomc opened this issue May 4, 2018 · 0 comments

Comments

@joeomc
Copy link

joeomc commented May 4, 2018

When iterating over backlog, messages appear in reverse order. The most recent message is first (reading top down) and the first messages is last. For example, I have a condition that triggers when a network interface state changes. When the interface goes down, then back up the messages in the backlog will be ordered with the up message printed before the down message.

Custom Message:
Last messages accounting for this alert:

SW01 Ebra: %LINEPROTO-5-UPDOWN: Line protocol on Interface Ethernet33, changed state to up
SW01 Ebra: %LINEPROTO-5-UPDOWN: Line protocol on Interface Ethernet33, changed state to down

They should be printed in the order they are received:
down
up

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant