> For the complete documentation index, see [llms.txt](https://docs.auterion.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.auterion.com/~/changes/TDRfjBXXgHmxK48cWqay/app-development/logging.md). Agents can also search and read this documentation through its [MCP server](https://docs.auterion.com/~gitbook/mcp).

# Logging

AOS can log app data from various sources into a centralized log. Based on the configuration, it can also log ROS2 topics. It supports multiple logging profiles for different verbosity levels. Logging is configured using YAML files. By default, it logs data generated by PX4 and `printf` messages from apps.

There are multiple ways to log data from apps:

1. [Logging ROS2 Message](https://docs.auterion.com/~/changes/TDRfjBXXgHmxK48cWqay/app-development/logging/logging-ros2-messages.md)
2. [Logging Text Output](https://docs.auterion.com/~/changes/TDRfjBXXgHmxK48cWqay/app-development/logging/logging-text-output.md)
3. [Logging Arbitrary Data Persistently](https://docs.auterion.com/~/changes/TDRfjBXXgHmxK48cWqay/app-development/logging/logging-arbitrary-data-persistently.md)
