Skip to content

iloveitaly/structlog_config

Repository files navigation

Structlog Configuration

Logging is really important:

  • High performance JSON logging in production
  • All loggers, even plugin or system loggers, should route through the same formatter
  • Structured logging everywhere
  • Ability to easily set thread-local log context

Stdib Log Management

Note that {LOGGER_NAME} is the name of the system logger assigned via logging.getLogger(__name__):

  • OPENAI_LOG_LEVEL
  • OPENAI_LOG_PATH. Ignored in production.

FastAPI Access Logger

Structured, simple access log with request timing to replace the default fastapi access log.

Adapted from:

Related Projects

References

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Sponsor this project

 

Packages

No packages published