From 1a059e1b77c017720a38f73c41cb1f8f06b8a08e Mon Sep 17 00:00:00 2001 From: GRMrGecko Date: Sun, 6 Jul 2025 22:08:29 -0500 Subject: [PATCH] Fix output default define. --- config.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/config.go b/config.go index 5416d73..e4cc8f2 100644 --- a/config.go +++ b/config.go @@ -33,7 +33,7 @@ type LogConfig struct { // go to the stderr. An file path, will log to the file. Using `default-file` // it'll either save to `/var/log/name.log`, or to the same directory as the // executable if the path is not writable, or on Windows. - Outputs []string `fig:"outputs" yaml:"outputs" default:"[console,default-file]"` + Outputs []string `fig:"outputs" yaml:"outputs" default:"console,default-file"` // Maximum size of the log file in megabytes before it gets rotated. MaxSize int `fig:"max_size" yaml:"max_size" default:"1"` // Maximum number of backups to save.