fixed the 500 if
Dieser Commit ist enthalten in:
Ursprung
7c1a1d176d
Commit
3d350413cd
|
@ -11,7 +11,7 @@ from gunicorn.glogging import CONFIG_DEFAULTS
|
||||||
from gunicorn.glogging import Logger as gLogger
|
from gunicorn.glogging import Logger as gLogger
|
||||||
import traceback
|
import traceback
|
||||||
|
|
||||||
__version__ = "0.0.6"
|
__version__ = "0.0.7"
|
||||||
|
|
||||||
|
|
||||||
CONFIG_DEFAULTS = {
|
CONFIG_DEFAULTS = {
|
||||||
|
@ -82,7 +82,7 @@ class Logger(gLogger):
|
||||||
level = self.access_log.info
|
level = self.access_log.info
|
||||||
if resp.status_code >= 400:
|
if resp.status_code >= 400:
|
||||||
level = self.access_log.warning
|
level = self.access_log.warning
|
||||||
elif resp.status_code >= 500
|
elif resp.status_code >= 500:
|
||||||
level = self.access_log.error
|
level = self.access_log.error
|
||||||
# wrap atoms:
|
# wrap atoms:
|
||||||
# - make sure atoms will be test case insensitively
|
# - make sure atoms will be test case insensitively
|
||||||
|
|
Laden…
In neuem Issue referenzieren