janhoy opened a new pull request, #779:
URL: https://github.com/apache/solr-operator/pull/779
Adds this to `values.yaml`:
```
logger:
# devel=true sets encoder=console, level=debug, stacktrace-level=warn
# devel=false sets encoder=json, level=info, stacktrace-level=error
devel: false
#encoder: json
#level: error
#stacktraceLevel: error
```
Docs:
<img width="884" alt="Skjermbilde 2025-03-26 kl 10 08 52"
src="https://github.com/user-attachments/assets/25a86fe4-fcd1-4739-bb1b-26dfab00510a"
/>
**Note** that today zap "Development" mode has been the default, but this PR
changes that to `false`, triggering production mode by default, and thus also
log-level INFO and encoding to JSON. This is perhaps a bit much change in a
minor version even if it is easy for users to tailor it. At the same time it
feels wrong that development is the default mode. We could keep the default of
development=true and change it to false in v1.0?
Fixes #778
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]