diff options
author | rnhmjoj <rnhmjoj@inventati.org> | 2023-09-04 00:51:24 +0200 |
---|---|---|
committer | rnhmjoj <rnhmjoj@inventati.org> | 2023-09-04 01:20:17 +0200 |
commit | 4fb8212162e1e90489412ab2ddabe6fcfdcce341 (patch) | |
tree | 93136ca9ba564c4ad9d4620b8205fe95801a0a83 /nixos | |
parent | 5fc70937a127092c48645d6f5061c0be9d45c69a (diff) | |
download | nixpkgs-4fb8212162e1e90489412ab2ddabe6fcfdcce341.tar nixpkgs-4fb8212162e1e90489412ab2ddabe6fcfdcce341.tar.gz nixpkgs-4fb8212162e1e90489412ab2ddabe6fcfdcce341.tar.bz2 nixpkgs-4fb8212162e1e90489412ab2ddabe6fcfdcce341.tar.lz nixpkgs-4fb8212162e1e90489412ab2ddabe6fcfdcce341.tar.xz nixpkgs-4fb8212162e1e90489412ab2ddabe6fcfdcce341.tar.zst nixpkgs-4fb8212162e1e90489412ab2ddabe6fcfdcce341.zip |
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.
Diffstat (limited to 'nixos')
-rw-r--r-- | nixos/modules/services/matrix/mautrix-whatsapp.nix | 15 |
1 files changed, 5 insertions, 10 deletions
diff --git a/nixos/modules/services/matrix/mautrix-whatsapp.nix b/nixos/modules/services/matrix/mautrix-whatsapp.nix index 7e568733b7b..c4dc4821349 100644 --- a/nixos/modules/services/matrix/mautrix-whatsapp.nix +++ b/nixos/modules/services/matrix/mautrix-whatsapp.nix @@ -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 = " "; + }; }; }; |