aboutsummaryrefslogtreecommitdiff
path: root/genenetwork/services
diff options
context:
space:
mode:
authorFrederick Muriuki Muriithi2024-04-12 06:28:53 +0300
committerFrederick Muriuki Muriithi2024-04-12 07:16:36 +0300
commitbacf3a2fc97c909d7295cf0985fad07ba74278df (patch)
tree3a85ab190359a62f9b898e6c204f06161c6a70af /genenetwork/services
parent8a323151f21ae4331c47054eb3c5cffcd0f46eda (diff)
downloadgn-machines-bacf3a2fc97c909d7295cf0985fad07ba74278df.tar.gz
Set up log level in gunicornadd-gunicorn-logging
Diffstat (limited to 'genenetwork/services')
-rw-r--r--genenetwork/services/genenetwork.scm6
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>