Skip to content

Commit 5a65fd3

Browse files
authored
Update django.ini
1 parent fb6b5be commit 5a65fd3

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

django.ini

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ module = django_views_tutorial.wsgi:application
44
home = /var/www/django.hackersandslackers.com/.venv
55
env = DJANGO_SETTINGS_MODULE=django_views_tutorial.settings
66

7-
processes = 2
7+
processes = 4
88
threads = 2
99
plugin = python310
1010

@@ -16,10 +16,10 @@ die-on-term = true
1616

1717

1818
# DogStatsD plugin configuration
19-
enable-metrics = true
19+
enable-metrics = false
2020
plugin = dogstatsd
2121
stats-push = dogstatsd:127.0.0.1:8125,django
2222

2323
# uWSGI
24-
logger = file:/var/log/uwsgi/django.log
24+
logger = file:/var/log/django/info.log
2525
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))

0 commit comments

Comments
 (0)