Skip to content

Commit 93aff85

Browse files
authored
Merge pull request #149 from ianmacd/pr6
Log only HTTP errors for much less verbose logging.
2 parents fce4c8a + 50c58b2 commit 93aff85

File tree

3 files changed

+9
-0
lines changed

3 files changed

+9
-0
lines changed

contrib/uwsgi-sogs-proxied-socket.ini

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -47,3 +47,6 @@ enable-threads = true
4747
manage-script-name = true
4848
mount = /=sogs.web:app
4949
mule = sogs.mule:run
50+
log-4xx = true
51+
log-5xx = true
52+
disable-logging = true

contrib/uwsgi-sogs-proxied.ini

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -54,3 +54,6 @@ enable-threads = true
5454
manage-script-name = true
5555
mount = /=sogs.web:app
5656
mule = sogs.mule:run
57+
log-4xx = true
58+
log-5xx = true
59+
disable-logging = true

contrib/uwsgi-sogs-standalone.ini

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -28,3 +28,6 @@ enable-threads = true
2828
http = :80
2929
mount = /=sogs.web:app
3030
mule = sogs.mule:run
31+
log-4xx = true
32+
log-5xx = true
33+
disable-logging = true

0 commit comments

Comments
 (0)