Remove false warning about copying the log config to a homeserver.yaml (#11092)
Co-authored-by: Andrew Morgan <1342360+anoadragon453@users.noreply.github.com>
This commit is contained in:
parent
78d5896d19
commit
106d99b8cd
|
@ -0,0 +1 @@
|
||||||
|
Clarify the the sample log config can be copied from the documentation without issue.
|
|
@ -2,13 +2,13 @@
|
||||||
|
|
||||||
Below is a sample logging configuration file. This file can be tweaked to control how your
|
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
|
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
|
Note that a default logging configuration (shown below) is created automatically alongside
|
||||||
a real homeserver.yaml. Instead, if you are starting from scratch, please generate
|
the homeserver config when following the [installation instructions](../../setup/installation.md).
|
||||||
a fresh config using Synapse by following the instructions in
|
It should be named `<SERVERNAME>.log.config` by default.
|
||||||
[Installation](../../setup/installation.md).
|
|
||||||
|
|
||||||
```yaml
|
```yaml
|
||||||
{{#include ../../sample_log_config.yaml}}
|
{{#include ../../sample_log_config.yaml}}
|
||||||
```
|
```
|
||||||
|
|
Loading…
Reference in New Issue