all repos — searchix @ 6d42ad10e483590d1dbb7ceacae8f6dd11f0d1df

Search engine for NixOS, nix-darwin, home-manager and NUR users

fix: unable to set log level from nixos module

Alan Pearce
commit

6d42ad10e483590d1dbb7ceacae8f6dd11f0d1df

parent

5c1454971ad761d7ee56a4d9a8b33f1e789dc9e3

1 file changed, 3 insertions(+), 5 deletions(-)

changed files
M internal/config/structs.gointernal/config/structs.go
@@ -9,14 +9,12 @@ "path/filepath"
"strings" "github.com/creasty/defaults" - "go.uber.org/zap/zapcore" ) type Config struct { - DataPath string `comment:"Path to store index data."` - LogLevel zapcore.Level `comment:"How much information to log, one of 'debug', 'info', 'warn', 'error', 'panic', 'fatal'."` - Web *Web `comment:"Settings for the web server"` - Importer *Importer `comment:"Settings for the import job"` + DataPath string `comment:"Path to store index data."` + Web *Web `comment:"Settings for the web server"` + Importer *Importer `comment:"Settings for the import job"` } type Web struct {