dotfiles/nixng/containers/matrix/synapse/log_config.nix

25 lines
406 B
Nix
Raw Normal View History

{ }:
{
version = 1;
formatters.structured.class = "synapse.logging.TerseJsonFormatter";
handlers.console = {
class = "logging.StreamHandler";
formatter = "structured";
};
loggers."synapse.storage.SQL" = {
level = "INFO";
};
loggers."synapse" = {
level = "INFO";
};
root = {
level = "INFO";
handlers = [ "console" ];
};
disable_existing_loggers = true;
}