Open cmwylie19 opened 8 months ago
Log Levels
Logger
adding this to on-hold because we have not had any requests around this and we would need more info on the desired implementation. uds-cli has a monitor command and pepr does too, not sure if this is enough?
Is your feature request related to a problem? Please describe.
I'd like to be able to use a Pepr CLI command to pull easy-to-read Pepr Controller logs from a cluster.
Describe the solution you'd like
One of the primary methods of troubleshooting Pepr Modules is to "check the logs" when something unexpected happens. The current method for doing so is to dump pod logs via kubectl and, while that works, the experience isn't awesome:
An awesome experience would instead:
Therefore:
Given a Pepr Module running in a cluster
When I run the
npx pepr logs --help
Then I see a nicely formatted set of options for querying for Pepr logs (per-pod, unified, colored, etc.)
And I run the
npx pepr logs
Then I get a nicely readable, unified, time-ordered set of logs
Describe alternatives you've considered