2021-06-03 12:20:40 -04:00
|
|
|
# Logging Sample Configuration File
|
|
|
|
|
|
|
|
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
|
2021-10-20 07:48:15 -04:00
|
|
|
changes made to this file. The value of the `log_config` option in your homeserver
|
|
|
|
config should be the path to this file.
|
2021-06-03 12:20:40 -04:00
|
|
|
|
2021-10-20 07:48:15 -04:00
|
|
|
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.
|
2021-06-03 12:20:40 -04:00
|
|
|
|
|
|
|
```yaml
|
|
|
|
{{#include ../../sample_log_config.yaml}}
|
2021-10-20 07:48:15 -04:00
|
|
|
```
|