copr: frontend: enable debugging output on devel

And update comments so they reference the correct format of new
copr-frontend's LOGGING_LEVEL option.
This commit is contained in:
Pavel Raiskup 2019-12-11 07:56:27 +01:00 committed by Pierre-Yves Chibon
parent 0dd848d945
commit 009b6a28a5
2 changed files with 4 additions and 2 deletions

View file

@ -28,7 +28,9 @@ SQLALCHEMY_DATABASE_URI = 'postgresql+psycopg2://copr-fe:{{ copr_database_passwo
# logging options
#SEND_LOGS_TO = ['root@localhost']
#LOGGING_LEVEL = logging.ERROR
{% if devel %}
LOGGING_LEVEL = 'debug'
{% endif %}
DEBUG = False
SQLALCHEMY_ECHO = False

View file

@ -24,7 +24,7 @@ SQLALCHEMY_DATABASE_URI = 'postgresql+psycopg2://copruser:{{ copruser_db_passwor
# logging options
#SEND_LOGS_TO = ['root@localhost']
#LOGGING_LEVEL = logging.ERROR
#LOGGING_LEVEL = 'info'
DEBUG = False
SQLALCHEMY_ECHO = False