mirror of
https://github.com/NixOS/nixpkgs.git
synced 2026-06-05 21:03:40 +00:00
nixos/warpgate: add settings.log.format
This commit is contained in:
@@ -283,6 +283,14 @@ in
|
||||
};
|
||||
};
|
||||
log = {
|
||||
format = mkOption {
|
||||
description = "The format Warpgate emits logs in.";
|
||||
default = "text";
|
||||
type = enum [
|
||||
"text"
|
||||
"json"
|
||||
];
|
||||
};
|
||||
retention = mkOption {
|
||||
description = "How long Warpgate keep its logs.";
|
||||
default = "7days";
|
||||
|
||||
Reference in New Issue
Block a user