Skip to content

Commit

Permalink
Turn on json logging by default on split validator (#74)
Browse files Browse the repository at this point in the history
Matches nitro node default logging config
  • Loading branch information
a-thomas-22 authored Aug 22, 2024
1 parent f85b412 commit ddfa7b1
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 1 deletion.
2 changes: 1 addition & 1 deletion charts/nitro/Chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,6 @@ maintainers:

type: application

version: 0.6.10
version: 0.6.11

appVersion: "v3.1.0-7d1d84c"
1 change: 1 addition & 0 deletions charts/nitro/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -180,6 +180,7 @@ helm install xai offchainlabs/nitro -f values.yaml
| `validator.splitvalidator.global.configmap.data.metrics` | Enable metrics | `false` |
| `validator.splitvalidator.global.configmap.data.metrics-server.addr` | Address to bind metrics server to | `0.0.0.0` |
| `validator.splitvalidator.global.configmap.data.metrics-server.port` | Port to bind metrics server to | `6070` |
| `validator.splitvalidator.global.configmap.data.log-type` | Type of logs | `json` |
| `validator.splitvalidator.global.extraArgs` | Extra arguments for the validator container | `[]` |
| `validator.splitvalidator.global.auth.enabled` | Enable the auth service for the validator statefulset | `true` |
| `validator.splitvalidator.global.auth.port` | Port to bind auth service to | `8549` |
Expand Down
3 changes: 3 additions & 0 deletions charts/nitro/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -294,6 +294,9 @@ validator:
## @param validator.splitvalidator.global.configmap.data.metrics-server.port Port to bind metrics server to
port: 6070

## @param validator.splitvalidator.global.configmap.data.log-type Type of logs
log-type: "json"

## @param validator.splitvalidator.global.extraArgs Extra arguments for the validator container
extraArgs: []

Expand Down

0 comments on commit ddfa7b1

Please sign in to comment.