cryostatio / cryostatio/cryostat-operator
[Bug] Non modyficable zap options with development: true hardcoded
Open
bug
needs-triage
- Dominant language
- Go
- Stars
- 37
- Forks
- 22
- Avg merge
- 21h 37m
- Merged PRs (30d)
- 22
Description
### Current Behavior
https://github.com/cryostatio/cryostat-operator/blob/main/internal/main.go#L88
there is
```go
opts := zap.Options{
Development: true,
}
```
which is not suitable for production use.
### Expected Behavior
I would like to have configuration option for:
* log level - via `--log-level` flag
* log format - `--log-format=json` example flag
### Steps To Reproduce
_No response_
### Environment
```Markdown
- OS:
- Environment:
- Version:
```
### Anything else?
If this is configurable otherwise would appreciate some pointers
Contributor guide
No contributing guide indexed for this repository
Assessment
This issue has not been assessed yet.