From 17152581a902792c5b47917fe7fde2fa0b491aa0 Mon Sep 17 00:00:00 2001 From: "Alexander \"Arav\" Andreev" Date: Mon, 7 Feb 2022 21:24:25 +0400 Subject: [PATCH] Added ToStdout, Clean, and CleanError to Log. --- internal/configuration/configuration.go | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/internal/configuration/configuration.go b/internal/configuration/configuration.go index cdf8c32..353c448 100644 --- a/internal/configuration/configuration.go +++ b/internal/configuration/configuration.go @@ -15,9 +15,12 @@ type Configuration struct { WebDir string `yaml:"web_dir"` User string `yaml:"user"` Log struct { - Error string `yaml:"error"` - Upload string `yaml:"upload"` - Download string `yaml:"download"` + ToStdout bool `yaml:"stdout"` + Error string `yaml:"error"` + Upload string `yaml:"upload"` + Download string `yaml:"download"` + Clean string `yaml:"clean"` + CleanError string `yaml:"clean_error"` } `yaml:"log"` Uploads struct { Directory string `yaml:"directory"`