container_logs
Retrieve and stream WSL container logs, with options to tail lines, follow output, filter by time range, and show timestamps.
Instructions
View logs from a WSL container.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| tail | No | Number of lines to show from the end | |
| since | No | Show logs since timestamp (Unix epoch seconds or RFC3339, e.g. 2024-01-15T10:30:00Z) | |
| until | No | Show logs until timestamp (Unix epoch seconds or RFC3339, e.g. 2024-01-15T10:30:00Z) | |
| follow | No | Follow log output (streaming) | |
| timestamps | No | Show timestamps in log output | |
| containerId | Yes | Container ID or name |