Skip to main content
You can provide your own loggers 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 logger

Multiple Loggers

Notice that you can also 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.agent 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
These loggers will be automatically picked up if they are set.