Skip to content

Commit 6481a90

Browse files
authored
Have synapse log to stdout (#319)
... which means that `docker logs` also logs to stdout, which is much easier to tesl with.
1 parent 53dd883 commit 6481a90

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

dockerfiles/synapse/log_config.yaml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,8 @@ handlers:
1414
class: logging.StreamHandler
1515
formatter: precise
1616
filters: [context]
17+
# log to stdout, for easier use with 'docker logs'
18+
stream: 'ext://sys.stdout'
1719

1820
root:
1921
level: INFO

0 commit comments

Comments
 (0)