This repository was archived by the owner on Apr 26, 2024. It is now read-only.
-
-
Notifications
You must be signed in to change notification settings - Fork 2.1k
This repository was archived by the owner on Apr 26, 2024. It is now read-only.
Document SYNAPSE_LOG_LEVEL
to configure logging severity in Docker #9934
Copy link
Copy link
Closed
Labels
A-DockerDocker images, or making it easier to run Synapse in a container.Docker images, or making it easier to run Synapse in a container.A-Docsthings relating to the documentationthings relating to the documentationP3(OBSOLETE: use S- labels.) Approved backlog: not yet scheduled, will accept patches(OBSOLETE: use S- labels.) Approved backlog: not yet scheduled, will accept patchesT-EnhancementNew features, changes in functionality, improvements in performance, or user-facing enhancements.New features, changes in functionality, improvements in performance, or user-facing enhancements.
Description
Description:
SYNAPSE_LOG_LEVEL
is used in docker/conf/log.config
to set the logger severity level but is not documented anywhere.
The log severity can also be overriden by setting a log_config
in homeserver.yaml
(SYNAPSE_CONFIG_PATH
)
SYNAPSE_CONFIG_PATH
: path to the file to be generated. Defaults to<SYNAPSE_CONFIG_DIR>/homeserver.yaml
.
Dev notes
SYNAPSE_LOG_LEVEL
was first introduceded in 4f2e898- Changed a bit in https://github.com/matrix-org/synapse/pull/5547/files
- Someone noted as broken in Logging broken in Docker image #6194 and maybe fixed in Fix logging config for the docker image #6197
Alternative
Remove this config altogether in favor of having to specify a log_config
in homeserver.yaml
Definition of done
We have a nice list of variables on https://hub.docker.com/r/matrixdotorg/synapse which this would fit nicely in.
- Document
SYNAPSE_LOG_LEVEL
indocker/README.md
Metadata
Metadata
Assignees
Labels
A-DockerDocker images, or making it easier to run Synapse in a container.Docker images, or making it easier to run Synapse in a container.A-Docsthings relating to the documentationthings relating to the documentationP3(OBSOLETE: use S- labels.) Approved backlog: not yet scheduled, will accept patches(OBSOLETE: use S- labels.) Approved backlog: not yet scheduled, will accept patchesT-EnhancementNew features, changes in functionality, improvements in performance, or user-facing enhancements.New features, changes in functionality, improvements in performance, or user-facing enhancements.