nixos/mautrix-whatsapp: log to the journal only

Logging outside the journal requires to manually clean/rotate the logs
and is quite surprising behavior: it should not be the default.
This commit is contained in:
rnhmjoj 2023-09-04 00:51:24 +02:00
parent 5fc70937a1
commit 4fb8212162
No known key found for this signature in database
GPG key ID: BFBAF4C975F76450

View file

@ -37,16 +37,11 @@
}; };
logging = { logging = {
min_level = "info"; min_level = "info";
writers = [ writers = lib.singleton {
{ type = "stdout";
type = "stdout"; format = "pretty-colored";
format = "pretty-colored"; time_format = " ";
} };
{
type = "file";
format = "json";
}
];
}; };
}; };