add json_format option for structure logging

This commit is contained in:
2025-08-02 00:00:35 +03:00
parent 8684d178e0
commit 6e59af1662
3 changed files with 10 additions and 1 deletions

View File

@@ -58,6 +58,7 @@ func (c *Compositor) LoadConf(path string) error {
v.SetDefault("updates.enabled", false)
v.SetDefault("updates.check_interval", "2h")
v.SetDefault("updates.wanted_version", "latest-stable")
v.SetDefault("log.json_format", "false")
v.SetDefault("log.level", "info")
v.SetDefault("log.output", "%stdout%")