diff --git a/roles/copr/frontend-cloud/templates/copr.conf b/roles/copr/frontend-cloud/templates/copr.conf index 7ceee06120..3a7d8f28c3 100644 --- a/roles/copr/frontend-cloud/templates/copr.conf +++ b/roles/copr/frontend-cloud/templates/copr.conf @@ -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 diff --git a/roles/copr/frontend/templates/copr.conf b/roles/copr/frontend/templates/copr.conf index b58daaedd1..0b5f10d4b3 100644 --- a/roles/copr/frontend/templates/copr.conf +++ b/roles/copr/frontend/templates/copr.conf @@ -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