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:
parent
5fc70937a1
commit
4fb8212162
1 changed files with 5 additions and 10 deletions
|
@ -37,16 +37,11 @@
|
|||
};
|
||||
logging = {
|
||||
min_level = "info";
|
||||
writers = [
|
||||
{
|
||||
type = "stdout";
|
||||
format = "pretty-colored";
|
||||
}
|
||||
{
|
||||
type = "file";
|
||||
format = "json";
|
||||
}
|
||||
];
|
||||
writers = lib.singleton {
|
||||
type = "stdout";
|
||||
format = "pretty-colored";
|
||||
time_format = " ";
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
|
|
Loading…
Reference in a new issue