mirror of
https://github.com/YunoHost-Apps/mygpo_ynh.git
synced 2024-09-03 19:55:52 +02:00
Don't use gunicorn logging.
This commit is contained in:
parent
338130611e
commit
a904ab9931
1 changed files with 13 additions and 11 deletions
|
@ -1,25 +1,27 @@
|
|||
diff --git a/conf/gunicorn.conf.py b/conf/gunicorn.conf.py
|
||||
index 726cd5f4..c13809cc 100644
|
||||
index c5940616..28c84d79 100644
|
||||
--- a/conf/gunicorn.conf.py
|
||||
+++ b/conf/gunicorn.conf.py
|
||||
@@ -1,16 +1,16 @@
|
||||
import multiprocessing
|
||||
@@ -1,17 +1,17 @@
|
||||
# import multiprocessing
|
||||
import os
|
||||
|
||||
|
||||
-bind = "unix:/tmp/mygpo.sock"
|
||||
+#bind = "unix:/tmp/mygpo.sock"
|
||||
#workers = multiprocessing.cpu_count()
|
||||
workers = 3
|
||||
|
||||
|
||||
# The maximum number of requests a worker will process before restarting.
|
||||
# max_requests = 1000
|
||||
|
||||
-errorlog = "/var/log/gunicorn/error.log"
|
||||
-accesslog = "/var/log/gunicorn/access.log"
|
||||
|
||||
-log_dir = os.getenv("LOGGING_DIR_GUNICRON", "/var/log/gunicorn/")
|
||||
-errorlog = log_dir + "error.log"
|
||||
-accesslog = log_dir + "access.log"
|
||||
-loglevel = "info"
|
||||
+#errorlog = "/var/log/gunicorn/error.log"
|
||||
+#accesslog = "/var/log/gunicorn/access.log"
|
||||
+#log_dir = os.getenv("LOGGING_DIR_GUNICRON", "/var/log/gunicorn/")
|
||||
+#errorlog = log_dir + "error.log"
|
||||
+#accesslog = log_dir + "access.log"
|
||||
+#loglevel = "info"
|
||||
access_log_format = '%(h)s %(l)s %(u)s %(t)s "%(r)s" %(s)s %(b)s %(T)s "%(f)s" "%(a)s"'
|
||||
|
||||
|
||||
timeout = 120
|
||||
|
|
Loading…
Add table
Reference in a new issue