I have done the following
Steps to reproduce
Start the system with a file log root, then ask container system logs for recent logs:
$ ls "$LOG_ROOT"
container-apiserver.log
container-core-images.log
container-network-vmnet-default.log
$ container system logs --last 1m
Timestamp Thread Type Activity PID TTL
$ echo $?
0
Problem description
container system logs reads macOS unified logs, not the files written to --log-root. That behavior is fine, but the docs/help should state it directly. As written, system start --log-root and system logs look connected, but system logs does not read those files.
Environment
- OS: macOS 26.4.1 (25E253)
- Xcode: Xcode 26.4.1 (17E202)
- Container: container CLI 0.12.3 (build: release, commit: f989901)
Code of Conduct
I have done the following
Steps to reproduce
Start the system with a file log root, then ask
container system logsfor recent logs:Problem description
container system logsreads macOS unified logs, not the files written to--log-root. That behavior is fine, but the docs/help should state it directly. As written,system start --log-rootandsystem logslook connected, butsystem logsdoes not read those files.Environment
Code of Conduct