Skip to content
This repository has been archived by the owner on Apr 26, 2024. It is now read-only.

Commit

Permalink
Remove false warning about copying the log config to a homeserver.yaml (
Browse files Browse the repository at this point in the history
#11092)

Co-authored-by: Andrew Morgan <[email protected]>
  • Loading branch information
turt2live and anoadragon453 authored Oct 20, 2021
1 parent 78d5896 commit 106d99b
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 6 deletions.
1 change: 1 addition & 0 deletions changelog.d/11092.doc
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
Clarify the the sample log config can be copied from the documentation without issue.
12 changes: 6 additions & 6 deletions docs/usage/configuration/logging_sample_config.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,13 +2,13 @@

Below is a sample logging configuration file. This file can be tweaked to control how your
homeserver will output logs. A restart of the server is generally required to apply any
changes made to this file.
changes made to this file. The value of the `log_config` option in your homeserver
config should be the path to this file.

Note that the contents below are *not* intended to be copied and used as the basis for
a real homeserver.yaml. Instead, if you are starting from scratch, please generate
a fresh config using Synapse by following the instructions in
[Installation](../../setup/installation.md).
Note that a default logging configuration (shown below) is created automatically alongside
the homeserver config when following the [installation instructions](../../setup/installation.md).
It should be named `<SERVERNAME>.log.config` by default.

```yaml
{{#include ../../sample_log_config.yaml}}
```
```

0 comments on commit 106d99b

Please sign in to comment.