mirror of
https://github.com/element-hq/synapse.git
synced 2024-12-15 17:51:10 +00:00
8af8a9bce5
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. |
||
---|---|---|
.. | ||
.gitignore | ||
12213.bugfix | ||
12319.bugfix | ||
12340.doc | ||
12344.removal | ||
12365.feature | ||
12382.removal | ||
12394.misc | ||
12395.misc | ||
12425.misc | ||
12434.misc | ||
12438.misc | ||
12441.misc | ||
12445.misc | ||
12450.misc | ||
12454.misc | ||
12466.misc |