Skip to content

Conversation

@enjoy-binbin
Copy link
Contributor

We add a new loglevel 'nothing' to disable logging in #12133.
This PR syncs that config change to sentinel. Because in #11214
we support modifying loglevel in runtime.

Although I think sentinel doesn't need this nothing config,
it's better to be consistent.

We add a new loglevel 'nothing' to disable logging in redis#12133.
This PR syncs that config change to sentinel. Because in redis#11214
we support modifying loglevel in runtime.

Although I think sentinel doesn't need this nothing config,
it's better to be consistent.
@enjoy-binbin enjoy-binbin requested a review from oranagra May 24, 2023 03:00
@oranagra oranagra merged commit d0994c5 into redis:unstable May 24, 2023
@enjoy-binbin enjoy-binbin deleted the sync_loglevel_nothing_to_sentinel branch May 24, 2023 06:33
enjoy-binbin added a commit to enjoy-binbin/redis that referenced this pull request May 26, 2023
It was missing in redis#12223, and the reply-schemas daily
was failing:
```
jsonschema.exceptions.ValidationError: 'nothing' is not valid under any of the given schemas

Failed validating 'oneOf' in schema[0]['properties']['loglevel']:
    {'oneOf': [{'const': 'debug'},
               {'const': 'verbose'},
               {'const': 'notice'},
               {'const': 'warning'},
               {'const': 'unknown'}]}

On instance['loglevel']:
    'nothing'
```
oranagra pushed a commit that referenced this pull request May 26, 2023
It was missing in #12223, and the reply-schemas daily
was failing:
```
jsonschema.exceptions.ValidationError: 'nothing' is not valid under any of the given schemas

Failed validating 'oneOf' in schema[0]['properties']['loglevel']:
    {'oneOf': [{'const': 'debug'},
               {'const': 'verbose'},
               {'const': 'notice'},
               {'const': 'warning'},
               {'const': 'unknown'}]}

On instance['loglevel']:
    'nothing'
```
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants