Merge "Validate rate_limit_except_level by choices"
This commit is contained in:
commit
1e68ceb2c5
@ -207,8 +207,8 @@ log_opts = [
|
|||||||
'rate_limit_interval.'),
|
'rate_limit_interval.'),
|
||||||
cfg.StrOpt('rate_limit_except_level',
|
cfg.StrOpt('rate_limit_except_level',
|
||||||
default='CRITICAL',
|
default='CRITICAL',
|
||||||
help='Log level name used by rate limiting: CRITICAL, ERROR, '
|
choices=['CRITICAL', 'ERROR', 'INFO', 'WARNING', 'DEBUG', ''],
|
||||||
'INFO, WARNING, DEBUG or empty string. Logs with level '
|
help='Log level name used by rate limiting. Logs with level '
|
||||||
'greater or equal to rate_limit_except_level are not '
|
'greater or equal to rate_limit_except_level are not '
|
||||||
'filtered. An empty string means that all levels are '
|
'filtered. An empty string means that all levels are '
|
||||||
'filtered.'),
|
'filtered.'),
|
||||||
|
Loading…
Reference in New Issue
Block a user