mirror of
https://git.sr.ht/~magic_rb/dotfiles
synced 2024-12-04 22:14:58 +01:00
aff0158ef7
Signed-off-by: magic_rb <magic_rb@redalder.org>
23 lines
401 B
Nix
23 lines
401 B
Nix
{}: {
|
|
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;
|
|
}
|