Service Logs
View logs from any workers or servers directly within the service logs section of the search modal.
Overview
Windmill now provides direct access to the logs emitted by containers, removing the need to manually retrieve them from Docker or other container platforms. This enables monitoring services without needing to leave the Windmill environment.
You can view them from the Workers page.
Key Features
- Real-Time Monitoring: While logs are emitted continuously, there is a 1-minute latency before they appear in the interface.
- Visual Graphs: You can easily track the number of logs and errors over time, displayed in a graphical interface:
- Log Count: Displayed in the mini-graph, showing how many logs were generated each minute.
- Error Count: Displayed in red, highlighting errors separately for quick identification.
- Separation by Type: Logs are organized by type. You can see logs for workers, servers and indexers.
In future releases, we plan to introduce a powerful search capability for logs, integrated directly into the search modal. This feature will be exclusive to the Enterprise Edition, enabling users to quickly search across logs for specific events, errors, or patterns.
Log Storage
Windmill provides a flexible solution for log storage depending on your setup:
-
Standard Setup (without Enterprise Edition): Logs are stored locally on disk. For this to work, there must be a dedicated log disk, which is pre-configured in the Docker Compose setup.
-
Enterprise Edition (with S3 Integration): For users with the Enterprise Edition (EE), logs can be stored in S3 if S3 integration is configured. This option provides more scalable storage and is ideal for larger-scale deployments or where long-term log retention is important.