Skip to content

Commit

Permalink
update default logger options for production environment
Browse files Browse the repository at this point in the history
Signed-off-by: Jeeva Kandasamy <[email protected]>
  • Loading branch information
jkandasa authored and tekton-robot committed Jul 9, 2024
1 parent 23fb02a commit 1e6e8ba
Showing 1 changed file with 9 additions and 6 deletions.
15 changes: 9 additions & 6 deletions config/base/config-logging.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -22,8 +22,8 @@ metadata:
data:
zap-logger-config: |
{
"level": "debug",
"development": true,
"level": "info",
"development": false,
"sampling": {
"initial": 100,
"thereafter": 100
Expand All @@ -32,22 +32,25 @@ data:
"errorOutputPaths": ["stderr"],
"encoding": "json",
"encoderConfig": {
"timeKey": "",
"timeKey": "timestamp",
"levelKey": "level",
"nameKey": "logger",
"callerKey": "caller",
"messageKey": "msg",
"stacktraceKey": "stacktrace",
"lineEnding": "",
"levelEncoder": "",
"timeEncoder": "",
"timeEncoder": "iso8601",
"durationEncoder": "",
"callerEncoder": ""
}
}
# Log level overrides
loglevel.controller: "info"
loglevel.webhook: "info"
loglevel.tekton-operator-lifecycle: "info"
loglevel.tekton-operator-cluster-operations: "info"
loglevel.tekton-operator-webhook: "info"

_example: |
################################
# #
Expand Down

0 comments on commit 1e6e8ba

Please sign in to comment.