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

Improve notifications sending logging #39

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

ivanmaterov
Copy link

I faced the problem that several notifications were not sent and I don't understand the reason.
I propose to improve logging so that all cases of unsuccessful sends are displayed in warnigs.

Log for sending notification does not
cover all cases of unsuccessful sending.
It is difficult to understand the reason
for the unsuccessful sending for non debug
environments.
@ivanmaterov ivanmaterov marked this pull request as ready for review February 27, 2023 06:18
@Fatal1ty
Copy link
Owner

Hi @ivanmaterov

Why you can’t just set logging level DEBUG for aioapns’s logger?

@ivanmaterov
Copy link
Author

Hi @Fatal1ty
It was a production environment. I do not want to receive all the debug logs =)

@ivanmaterov
Copy link
Author

@Fatal1ty It also helps to bring the code into a consistent form. It's strange that one exception is handled as a debug, and the other is not handled at all

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

Successfully merging this pull request may close these issues.

2 participants