From bacf3a2fc97c909d7295cf0985fad07ba74278df Mon Sep 17 00:00:00 2001 From: Frederick Muriuki Muriithi Date: Fri, 12 Apr 2024 06:28:53 +0300 Subject: Set up log level in gunicorn --- genenetwork/services/genenetwork.scm | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'genenetwork') diff --git a/genenetwork/services/genenetwork.scm b/genenetwork/services/genenetwork.scm index e3462d6..19b7d9e 100644 --- a/genenetwork/services/genenetwork.scm +++ b/genenetwork/services/genenetwork.scm @@ -421,8 +421,7 @@ a @code{} record." `(("QCAPP_SECRETS" ,secrets) ("SQL_URI" ,sql-uri) ("UPLOAD_FOLDER" ,(string-append data-directory - "/uploads")) - ("LOG_LEVEL" ,log-level)))))) + "/uploads"))))))) (list (gunicorn-app (name "gn-uploader") (package gn-uploader) @@ -447,7 +446,8 @@ a @code{} record." (file-system-mapping (source data-directory) (target source) - (writable? #t))))))))) + (writable? #t)))) + (extra-cli-arguments (list "--log-level" log-level))))))) (define (gn-uploader-nginx-server-block config) (match-record config -- cgit v1.2.3