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 = {
|
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";
|
|
||||||
}
|
|
||||||
];
|
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue