Skip to content

About mail sending function #522

Answered by mxsasha
ma-anazawa asked this question in Q&A
Jul 21, 2021 · 1 comments · 2 replies
Discussion options

You must be logged in to vote

This is probably possible, but non-trivial, with custom logging configuration: https://irrd.readthedocs.io/en/stable/admins/configuration/#logging
You'd need to dive into the Python logging framework for this, to have a custom logger that detects the cases you want to log, and then set up a handler that sends emails. Also, be aware that as the docs say, misconfigurations can lead to log messages being silently lost.

Error responses from NRTMv3 queries are also ambiguous, which is why IRRD logs them at DEBUG level. Failed file downloads or TCP connections are clear errors, hence they are logged as ERROR. The way NRTMv3 works in IRRD is that we have data up to serial X, and request all upda…

Replies: 1 comment 2 replies

Comment options

You must be logged in to vote
2 replies
@ma-anazawa
Comment options

@mxsasha
Comment options

Answer selected by ma-anazawa
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants