Skip to content

fix: configure log colors - #1083

Draft
Alex Bilbie (alexbilbie) wants to merge 1 commit into
karrioapi:mainfrom
alexbilbie:fix/log-colorize-env
Draft

fix: configure log colors#1083
Alex Bilbie (alexbilbie) wants to merge 1 commit into
karrioapi:mainfrom
alexbilbie:fix/log-colorize-env

Conversation

@alexbilbie

@alexbilbie Alex Bilbie (alexbilbie) commented May 14, 2026

Copy link
Copy Markdown

Summary

  • add LOG_COLORIZE server env setting
  • pass colorize through Django Loguru setup
  • add SDK KARRIO_LOG_COLORIZE support, falling back to LOG_COLORIZE
  • keep colored logs enabled by default

Impact

Set LOG_COLORIZE=false to disable ANSI-colored server console logs. Set KARRIO_LOG_COLORIZE=false for standalone SDK logs.

Validation

  • python3 -m py_compile apps/api/karrio/server/settings/base.py modules/core/karrio/server/core/logging.py modules/sdk/karrio/core/utils/logger.py
  • git diff --check

Server/SDK test wrappers not run: local .venv/karrio is missing, so karrio command/env unavailable.

@vercel

vercel Bot commented May 14, 2026

Copy link
Copy Markdown

Alex Bilbie (@alexbilbie) is attempting to deploy a commit to the karrio Team on Vercel.

A member of the Team first needs to authorize it.

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.

1 participant