This commit is contained in:
2025-10-12 01:56:11 +03:00
parent 54eb5eec6a
commit f7b0014a37

View File

@@ -61,6 +61,7 @@ func (c *Compositor) LoadConf(path string) error {
v.SetDefault("log.json_format", "false") v.SetDefault("log.json_format", "false")
v.SetDefault("log.level", "info") v.SetDefault("log.level", "info")
v.SetDefault("log.output", "%2%") v.SetDefault("log.output", "%2%")
v.SetDefault("disable_warnings", []string{})
if err := v.ReadInConfig(); err != nil { if err := v.ReadInConfig(); err != nil {
return fmt.Errorf("error reading config: %w", err) return fmt.Errorf("error reading config: %w", err)