summary refs log tree commit diff
path: root/changelog.d/12466.misc
diff options
context:
space:
mode:
authorRichard van der Hoff <1389908+richvdh@users.noreply.github.com>2022-04-13 20:50:08 +0100
committerGitHub <noreply@github.com>2022-04-13 20:50:08 +0100
commit8af8a9bce5319ebf99573433f9f89d94767e173c (patch)
treea136c6805308bed3a1a702904e3651a4167dd612 /changelog.d/12466.misc
parentLimit `device_id` size to 512B (#12454) (diff)
downloadsynapse-8af8a9bce5319ebf99573433f9f89d94767e173c.tar.xz
Dockerfile-workers: give the master its own log config (#12466)
When we run a worker-mode synapse under docker, everything gets logged to stdout. Currently, output from the workers is tacked with a worker name, for example:

```
2022-04-13 15:27:56,810 - worker:frontend_proxy1 - synapse.util.caches.lrucache - 154 - INFO - LruCache._expire_old_entries-0 - Dropped 0 items from caches
```

- note `worker:frontend_proxy1`. No such tag is applied to log lines from the master, which makes somewhat confusing reading.

To fix this, we generate a dedicated log config file for the master in the same way that we do for the workers, and use that.
Diffstat (limited to 'changelog.d/12466.misc')
-rw-r--r--changelog.d/12466.misc1
1 files changed, 1 insertions, 0 deletions
diff --git a/changelog.d/12466.misc b/changelog.d/12466.misc
new file mode 100644
index 0000000000..b0c2c950fe
--- /dev/null
+++ b/changelog.d/12466.misc
@@ -0,0 +1 @@
+Dockerfile-workers: give the master its own log config.