Skip to main content
You can provide your own logging configuration to Agno, to be used instead of the default ones. This can be useful if you need your system to log in any specific format.

Specifying a custom logging configuration

You can configure Agno to use your own logging configuration by using the configure_agno_logging function.

Logging to a File

You can configure Agno to log to a file instead of the console:

Multiple Loggers

You can configure different loggers for your Agents, Teams and Workflows:

Using Named Loggers

As it’s conventional in Python, you can also provide custom loggers just by setting loggers with specific names. This is useful if you want to set them up using configuration files. Agno automatically recognizes and uses these logger names:
  • agno will be used for all Agent logs
  • agno-team will be used for all Team logs
  • agno-workflow will be used for all Workflow logs

Learn more

Telemetry

Learn about Agno telemetry

Debugging Agents

Debug your agents effectively