[GH-ISSUE #187] Pushover Handler should send Priority #61

Closed
opened 2026-03-04 02:11:48 +03:00 by kerem · 4 comments
Owner

Originally created by @SteveEdson on GitHub (May 1, 2013).
Original GitHub issue: https://github.com/Seldaek/monolog/issues/187

The Pushover API is able to accept a priority for each message. On Android devices, high priority alerts in Pushover, are able to play through the devices alarm channel.

Monolog alerts such as critical, alert and emergency should be sent to Pushover as a high priority alert.

Example, Website goes offline in middle of night, a Monolog alert is triggered. This high priority pushover alert would be able to wake up a user, even if their device is set to silent.

Originally created by @SteveEdson on GitHub (May 1, 2013). Original GitHub issue: https://github.com/Seldaek/monolog/issues/187 The Pushover API is able to accept a priority for each message. On Android devices, high priority alerts in Pushover, are able to play through the devices alarm channel. Monolog alerts such as critical, alert and emergency should be sent to Pushover as a high priority alert. Example, Website goes offline in middle of night, a Monolog alert is triggered. This high priority pushover alert would be able to wake up a user, even if their device is set to silent.
kerem closed this issue 2026-03-04 02:11:48 +03:00
Author
Owner

@Seldaek commented on GitHub (Jun 26, 2013):

After looking at pushover docs in more details I guess we should add $emergencyLevel and $highPriorityLevel args with defaults to Logger::EMERGENCY and Logger::CRITICAL I'd say.

high priority records should have priority=1, and emergency ones priority=2, others can have priority=0 or unset.

<!-- gh-comment-id:20036900 --> @Seldaek commented on GitHub (Jun 26, 2013): After looking at pushover docs in more details I guess we should add $emergencyLevel and $highPriorityLevel args with defaults to Logger::EMERGENCY and Logger::CRITICAL I'd say. high priority records should have priority=1, and emergency ones priority=2, others can have priority=0 or unset.
Author
Owner

@ArturMoczulski commented on GitHub (Jul 8, 2013):

also, this has been implemented with the defaults mentioned by Seldaek in the post above

<!-- gh-comment-id:20590113 --> @ArturMoczulski commented on GitHub (Jul 8, 2013): also, this has been implemented with the defaults mentioned by Seldaek in the post above
Author
Owner

@Seldaek commented on GitHub (Jul 11, 2013):

This is now available in master

<!-- gh-comment-id:20824890 --> @Seldaek commented on GitHub (Jul 11, 2013): This is now available in master
Author
Owner

@SteveEdson commented on GitHub (Jul 12, 2013):

Brilliant, thank you.

<!-- gh-comment-id:20865315 --> @SteveEdson commented on GitHub (Jul 12, 2013): Brilliant, thank you.
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/monolog#61
No description provided.