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

LoggerHandlerを先に設定したい #21

Open
shimizukawa opened this issue Feb 12, 2023 · 0 comments
Open

LoggerHandlerを先に設定したい #21

shimizukawa opened this issue Feb 12, 2023 · 0 comments

Comments

@shimizukawa
Copy link
Owner

  • console/client.py は後からrootにadd handlerしている
  • djangoはsettings.LOGGINGの後に差し込むには、LOGGING_CONFIGを使えばできそう
  • しかし、OpenTelemetryDistroのでsitecustomizeを使う場合は先に差し込むことになる
    • TODO: loggerの初期化前に差し込んでおき、消されないようにする方法は?
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

No branches or pull requests

1 participant