From 31a892e43d0898c0f7002cdd7b4dc8c1f16bc96b Mon Sep 17 00:00:00 2001 From: "Alexander \"Arav\" Andreev" Date: Mon, 13 Mar 2023 03:31:40 +0400 Subject: [PATCH] Remove log section from config, since it is not used anymore. --- configs/config.yaml | 4 +--- internal/configuration/configuration.go | 3 --- 2 files changed, 1 insertion(+), 6 deletions(-) diff --git a/configs/config.yaml b/configs/config.yaml index 6a47c7a..cd0e5f3 100644 --- a/configs/config.yaml +++ b/configs/config.yaml @@ -12,6 +12,4 @@ liquidsoap: executable_path: "/opt/opam/4.14.0/bin/liquidsoap" script_path: "/etc/dwelling/radio.liq" # How much songs to list on a page -list_last_n_songs: 10 -log: - error: "/var/log/dwelling-radio/error.log" \ No newline at end of file +list_last_n_songs: 10 \ No newline at end of file diff --git a/internal/configuration/configuration.go b/internal/configuration/configuration.go index 8264a53..edd5d02 100644 --- a/internal/configuration/configuration.go +++ b/internal/configuration/configuration.go @@ -21,9 +21,6 @@ type Configuration struct { ScriptPath string `yaml:"script_path"` } `yaml:"liquidsoap"` ListLastNSongs int `yaml:"list_last_n_songs"` - Log struct { - Error string `yaml:"error"` - } `yaml:"log"` } // Load reads a YAML file that stores configuration of a service.