add a flag to the CLI to enable debug mode #4535
Labels
request/new
Request: Indicates a new request that has been submitted and awaits initial triage
type/enhancement
Type: New features or enhancements to existing features
We need a convenient method and common logic to enable debug mode. Today, we are mainly relying on zerolog logging level to know if we are in debug mode or not and using that in multiple places including:
bacalhau/pkg/publicapi/server.go
Line 93 in ce04ff7
bacalhau/cmd/util/cols/history.go
Line 63 in 2540a99
First, we need a more explicit way to enable debug more rather than infering from the logging level
Second, we need an easy way to expose that back to the user
The text was updated successfully, but these errors were encountered: