Feature or enhancement request details
Right now some output that should probably go to stderr is just being printed with print().
An example is: https://github.com/apple/container/blob/main/Sources/CLI/System/SystemStart.swift#L95.
All commands should log diagnostics to stderr and print data proper to stdout.
For this we could create a plaintext-to-stderr LogHandler in ContainerClient that all commands use.
At present it appears we do no logging in ContainerClient, with the single Exception of Sources/ContainerClient/ExitMonitor.swift, which is actually only used on the server side. Therefore, we can limit the scope of this to just going through each of the command groups.
Code of Conduct
Feature or enhancement request details
Right now some output that should probably go to stderr is just being printed with print().
An example is: https://github.com/apple/container/blob/main/Sources/CLI/System/SystemStart.swift#L95.
All commands should log diagnostics to stderr and print data proper to stdout.
For this we could create a plaintext-to-stderr LogHandler in ContainerClient that all commands use.
At present it appears we do no logging in ContainerClient, with the single Exception of Sources/ContainerClient/ExitMonitor.swift, which is actually only used on the server side. Therefore, we can limit the scope of this to just going through each of the command groups.
Code of Conduct