Skip to content
Changelog

Enable full tracebacks in logs with AGNO_LOG_TRACEBACKS

Agno Team

April 9, 20261 min read

A new AGNO_LOG_TRACEBACKS environment variable (opt-in) enables full Python tracebacks in log_error and log_warning calls. By default, tracebacks are suppressed to keep logs clean in production; setting this variable surfaces the complete stack trace for faster local debugging and error diagnosis.

Details:

  • Set AGNO_LOG_TRACEBACKS=true to enable full traceback output in log_error and log_warning
  • Off by default; no change in behavior for existing deployments
  • Useful for development environments and debugging sessions where full stack context is needed

Shipped around the same time