diff options
author | Nick Thomas <nick@gitlab.com> | 2021-09-23 10:41:12 +0100 |
---|---|---|
committer | Nick Thomas <nick@gitlab.com> | 2021-09-23 10:44:31 +0100 |
commit | 4f64306d5118606a2ff464e1994ce8683b52fd15 (patch) | |
tree | 24b741801917ebdaadb9cb05382c37d5d9ae08b2 /internal/config/config.go | |
parent | 882c55eabf74eb5996098c9898045099927803a1 (diff) | |
download | gitlab-shell-4f64306d5118606a2ff464e1994ce8683b52fd15.tar.gz |
Respect log-level configuration again
This was lost in the move from Ruby to Go. Restore it now.
Changelog: fixed
Diffstat (limited to 'internal/config/config.go')
-rw-r--r-- | internal/config/config.go | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/internal/config/config.go b/internal/config/config.go index c67f60a..5185736 100644 --- a/internal/config/config.go +++ b/internal/config/config.go @@ -46,6 +46,7 @@ type Config struct { RootDir string LogFile string `yaml:"log_file,omitempty"` LogFormat string `yaml:"log_format,omitempty"` + LogLevel string `yaml:"log_level,omitempty"` GitlabUrl string `yaml:"gitlab_url"` GitlabRelativeURLRoot string `yaml:"gitlab_relative_url_root"` GitlabTracing string `yaml:"gitlab_tracing"` @@ -66,6 +67,7 @@ var ( DefaultConfig = Config{ LogFile: "gitlab-shell.log", LogFormat: "json", + LogLevel: "info", Server: DefaultServerConfig, User: "git", } |