Merge "Validate rate_limit_except_level by choices"

This commit is contained in:
Zuul 2024-04-09 12:05:32 +00:00 committed by Gerrit Code Review
commit 1e68ceb2c5
1 changed files with 2 additions and 2 deletions

View File

@ -207,8 +207,8 @@ log_opts = [
'rate_limit_interval.'),
cfg.StrOpt('rate_limit_except_level',
default='CRITICAL',
help='Log level name used by rate limiting: CRITICAL, ERROR, '
'INFO, WARNING, DEBUG or empty string. Logs with level '
choices=['CRITICAL', 'ERROR', 'INFO', 'WARNING', 'DEBUG', ''],
help='Log level name used by rate limiting. Logs with level '
'greater or equal to rate_limit_except_level are not '
'filtered. An empty string means that all levels are '
'filtered.'),