v0.2.2 minor fixes
This commit is contained in:
@ -87,11 +87,6 @@ func validateLogConfig(cfg *LogConfig) error {
|
||||
return fmt.Errorf("invalid console target: %s", cfg.Console.Target)
|
||||
}
|
||||
|
||||
// TODO: check if file output check is correct
|
||||
if cfg.Console.Target == "split" && cfg.Output == "file" {
|
||||
return fmt.Errorf("console target 'split' requires output mode 'stdout', 'stderr', or 'both'")
|
||||
}
|
||||
|
||||
validFormats := map[string]bool{
|
||||
"txt": true, "json": true, "": true,
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user