Opened 7 years ago
Last modified 7 years ago
#12779 closed defect
[logging] log_level option is case-sensitive after Trac 1.2 — at Version 1
Reported by: | Jun Omae | Owned by: | Ryan J Ollos |
---|---|---|---|
Priority: | normal | Milestone: | 1.2.2 |
Component: | general | Version: | 1.2 |
Severity: | minor | Keywords: | |
Cc: | Branch: | ||
Release Notes: |
Fixed |
||
API Changes: | |||
Internal Changes: |
Description
$ ~/venv/trac/1.0.13/trac-admin /dev/shm/tracenv-1.0 Welcome to trac-admin 1.0.13 Interactive Trac administration console. Copyright (C) 2003-2013 Edgewall Software Type: '?' or 'help' for help on commands. Trac [/dev/shm/tracenv-1.0]> config get logging log_level info Trac [/dev/shm/tracenv-1.0]> $ ~/venv/trac/1.2/trac-admin /dev/shm/tracenv-1.0 Welcome to trac-admin 1.2 Interactive Trac administration console. Copyright (C) 2003-2013 Edgewall Software Type: '?' or 'help' for help on commands. Trac [/dev/shm/tracenv-1.0]> upgrade Error: [logging] log_level: expected one of ("ALL", "CRITICAL", "DEBUG", "ERROR", "INFO", "WARN", "WARNING"), got u'info'
Change History (1)
comment:1 by , 7 years ago
Owner: | set to |
---|---|
Release Notes: | modified (diff) |
Status: | new → assigned |
Note:
See TracTickets
for help on using tickets.
Regression from #11573. We could add a
case_sensitive
argument toChoiceOption
.trac/config.py
):trac/env.py
)I would prefer to not make
case_sensitive
be the last argument in the list, but I suppose that is required for backward-compatibility.