diff options
author | Frederick Muriuki Muriithi | 2024-04-12 06:28:53 +0300 |
---|---|---|
committer | Frederick Muriuki Muriithi | 2024-04-12 07:16:36 +0300 |
commit | bacf3a2fc97c909d7295cf0985fad07ba74278df (patch) | |
tree | 3a85ab190359a62f9b898e6c204f06161c6a70af /genenetwork | |
parent | 8a323151f21ae4331c47054eb3c5cffcd0f46eda (diff) | |
download | gn-machines-add-gunicorn-logging.tar.gz |
Set up log level in gunicornadd-gunicorn-logging
Diffstat (limited to 'genenetwork')
-rw-r--r-- | genenetwork/services/genenetwork.scm | 6 |
1 files changed, 3 insertions, 3 deletions
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{<genenetwork-configuration>} 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{<genenetwork-configuration>} 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 <gn-uploader-configuration> |