diff options
author | emilylange <git@emilylange.de> | 2024-02-13 20:26:29 +0100 |
---|---|---|
committer | emilylange <git@emilylange.de> | 2024-02-13 20:26:29 +0100 |
commit | 993083f0ab6663ca914177082f423acf4e1d46f9 (patch) | |
tree | 30d57d883da289cb77bba63d14f2114135074bba /nixos/modules/services/web-servers | |
parent | 4ee752288b1c98d7a01ffaddc71d937e63671f18 (diff) |
nixos/garage: allow all available log levels in `cfg.logLevel`
`error` and `warn` have always been valid log levels.
But because the upstream docs never mentioned those, we simply didn't
add them to the enum of our module option.
The upstream docs have been updated and now mention `error` and `warn`
as well.
Upstream PR: https://git.deuxfleurs.fr/Deuxfleurs/garage/pulls/716
Diffstat (limited to 'nixos/modules/services/web-servers')
-rw-r--r-- | nixos/modules/services/web-servers/garage.nix | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/nixos/modules/services/web-servers/garage.nix b/nixos/modules/services/web-servers/garage.nix index 47b4c6ab416e..48dd5b34757c 100644 --- a/nixos/modules/services/web-servers/garage.nix +++ b/nixos/modules/services/web-servers/garage.nix @@ -30,7 +30,7 @@ in }; logLevel = mkOption { - type = types.enum ([ "info" "debug" "trace" ]); + type = types.enum ([ "error" "warn" "info" "debug" "trace" ]); default = "info"; example = "debug"; description = lib.mdDoc "Garage log level, see <https://garagehq.deuxfleurs.fr/documentation/quick-start/#launching-the-garage-server> for examples."; |