You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
For some reason, it appears that using Troncos with structlog drops contextvars when used in production. Locally, I get all variables, but in production, I don't get the variables set through logger.bind(). The hack fix for this is to manually add merge_contextvars to extra_processors on initiation.
The text was updated successfully, but these errors were encountered:
For some reason, it appears that using Troncos with structlog drops contextvars when used in production. Locally, I get all variables, but in production, I don't get the variables set through
logger.bind()
. Thehackfix for this is to manually addmerge_contextvars
toextra_processors
on initiation.The text was updated successfully, but these errors were encountered: