# Sample Configuration Files ## Homeserver Config Below is a sample homeserver configuration file. The homeserver configuration file can be tweaked to change the behaviour of your homeserver. A restart of the server is generally required to apply any changes made 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). A sample logging config file is provided in [the next section](#logging-config). ```yaml {{#include ../../sample_config.yaml}} ``` ## Logging Config Below is a sample logging configuration file. This file controls how your homeserver will output logs. ```yaml {{#include ../../sample_log_config.yaml}} ```