We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? # to your account
Is this the correct configuration for show_locals=False with json output?
show_locals=False
structlog.configure( cache_logger_on_first_use=True, wrapper_class=structlog.make_filtering_bound_logger(logging.INFO), processors=[ structlog.contextvars.merge_contextvars, structlog.processors.add_log_level, structlog.processors.format_exc_info, structlog.processors.TimeStamper(fmt="iso", utc=True), structlog.processors.ExceptionRenderer( structlog.tracebacks.ExceptionDictTransformer(show_locals=False) ), structlog.processors.JSONRenderer(serializer=orjson.dumps), ], logger_factory=structlog.BytesLoggerFactory(), ) logger = structlog.get_logger()
The text was updated successfully, but these errors were encountered:
Yes, this looks right. With #627 you will have even more options. :-)
Sorry, something went wrong.
No branches or pull requests
Is this the correct configuration for
show_locals=False
with json output?The text was updated successfully, but these errors were encountered: