Skip to content

Added external logging #108

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

Open
wants to merge 3 commits into
base: main
Choose a base branch
from
Open

Conversation

nederer
Copy link

@nederer nederer commented Jun 17, 2025

No description provided.

@vrslev
Copy link
Contributor

vrslev commented Jun 23, 2025

Давай только по красоте сделаем без structlog.get_config()

@vrslev vrslev requested review from insani7y and vrslev June 23, 2025 12:51
@vrslev
Copy link
Contributor

vrslev commented Jun 30, 2025

И ещё тесты стоит добавить

@vrslev
Copy link
Contributor

vrslev commented Aug 4, 2025

Добавишь тесты?

@@ -1,4 +1,4 @@
from __future__ import annotations
from future import annotations
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Почему?

Comment on lines +164 to +165
stream_handler: typing.Final = logging.StreamHandler()
root_logger: typing.Final = logging.getLogger()
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Давай поместим ниже, перед stream_handler.setFormatter(

structlog.stdlib.add_logger_name,
tracer_injection,
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Трейсинг будет полезен во всех логах

@vrslev
Copy link
Contributor

vrslev commented Aug 4, 2025

Исправил работоспособность CI в форках: https://github.com/community-of-python/community-workflow/pulls?q=is%3Apr+is%3Aclosed

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