File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -4,7 +4,7 @@ module = django_views_tutorial.wsgi:application
4
4
home = /var/www/django.hackersandslackers.com/.venv
5
5
env = DJANGO_SETTINGS_MODULE =django_views_tutorial.settings
6
6
7
- processes = 2
7
+ processes = 4
8
8
threads = 2
9
9
plugin = python310
10
10
@@ -16,10 +16,10 @@ die-on-term = true
16
16
17
17
18
18
# DogStatsD plugin configuration
19
- enable-metrics = true
19
+ enable-metrics = false
20
20
plugin = dogstatsd
21
21
stats-push = dogstatsd:127.0.0.1:8125,django
22
22
23
23
# uWSGI
24
- logger = file:/var/log/uwsgi/ django.log
25
- og-format = [pid: %(pid)|app: -|req: -/-] %(addr) (%(user)) {%(vars) vars in %(pktsize) bytes} [%(ctime)] %(method) %(uri) => generated %(rsize) bytes in %(msecs) msecs (%(proto) %(status)) %(headers) headers in %(hsize) bytes (%(switches) switches on core %(core))
24
+ logger = file:/var/log/django/info .log
25
+ og-format = [pid: %(pid)|app: -|req: -/-] %(addr) (%(user)) {%(vars) vars in %(pktsize) bytes} [%(ctime)] %(method) %(uri) => generated %(rsize) bytes in %(msecs) msecs (%(proto) %(status)) %(headers) headers in %(hsize) bytes (%(switches) switches on core %(core))
You can’t perform that action at this time.
0 commit comments