Fix a bug introduced in 6952516 which led to the app being unable to start if logging was enabled but no explicit path was set. In this case, the expected behaviour is to fallback to a log file in the XDG file hierarchy, but this was lost due to broken config file defaults handling. This commit separates the behaviour when setting defaults when reading an existing configuration, from those set when creating a brand new configuration.
6 lines
84 B
YAML
6 lines
84 B
YAML
---
|
|
logfile:
|
|
enabled: true
|
|
destinations:
|
|
- url: rtmp://rtmp.example.com:1935/live
|