Skip to content

Commit

Permalink
Log alerts to blacklisted addresses as debug
Browse files Browse the repository at this point in the history
One log entry is created for each alert every 30 seconds
It is changed to debug since no new error is discovered
  • Loading branch information
johannaengland committed Aug 8, 2023
1 parent ac90b09 commit 10ed66b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion python/nav/models/profiles.py
Original file line number Diff line number Diff line change
Expand Up @@ -432,7 +432,7 @@ def send(self, alert, subscription):
return True

if self.type.is_blacklisted():
_logger.warning(
_logger.debug(
'Not sending alert %s to %s as handler %s is blacklisted: %s',
alert.id,
self.address,
Expand Down

0 comments on commit 10ed66b

Please sign in to comment.