services.matrix-synapse.settings.log_config

NixOS option

The file that holds the logging configuration.

type: absolute path
Default
<rendered-html><p>Path to a yaml file generated from this Nix expression:</p>
<pre><code>{
  disable_existing_loggers = false;
  formatters = {
    journal_fmt = {
      format = &quot;%(name)s: [%(request)s] %(message)s&quot;;
    };
  };
  handlers = {
    journal = {
      SYSLOG_IDENTIFIER = &quot;synapse&quot;;
      class = &quot;systemd.journal.JournalHandler&quot;;
      formatter = &quot;journal_fmt&quot;;
    };
  };
  root = {
    handlers = [
      &quot;journal&quot;
    ];
    level = &quot;INFO&quot;;
  };
  version = 1;
}</code></pre>
</rendered-html>
declared in: nixos/modules/services/matrix/synapse.nixView source on NixOS/nixpkgs →