From 192fa0d58fbba6c4709946bf9f7f4313a88d7e3e Mon Sep 17 00:00:00 2001 From: "Alexander \"Arav\" Andreev" Date: Tue, 7 Feb 2023 02:24:44 +0400 Subject: [PATCH] Removed ToStdout option from Configuration. --- configs/config.yaml | 2 -- internal/configuration/configuration.go | 3 +-- 2 files changed, 1 insertion(+), 4 deletions(-) diff --git a/configs/config.yaml b/configs/config.yaml index 6ddb914..0bae7a3 100644 --- a/configs/config.yaml +++ b/configs/config.yaml @@ -12,6 +12,4 @@ liquidsoap: # How much songs to list on a page list_last_n_songs: 10 log: - # Output messages to stdout as well as to theirs files. - stdout: true error: "/var/log/dwelling-radio/error.log" \ No newline at end of file diff --git a/internal/configuration/configuration.go b/internal/configuration/configuration.go index 34a9713..6e769a2 100644 --- a/internal/configuration/configuration.go +++ b/internal/configuration/configuration.go @@ -21,8 +21,7 @@ type Configuration struct { } `yaml:"liquidsoap"` ListLastNSongs int `yaml:"list_last_n_songs"` Log struct { - ToStdout bool `yaml:"stdout"` - Error string `yaml:"error"` + Error string `yaml:"error"` } `yaml:"log"` }