diff options
author | Niall Sheridan <nsheridan@gmail.com> | 2016-06-30 22:27:28 +0100 |
---|---|---|
committer | Niall Sheridan <nsheridan@gmail.com> | 2016-06-30 22:27:28 +0100 |
commit | 6e7dfa0df6b102219817e26095f2ba636cd9288c (patch) | |
tree | bb3fa51b68e412bd5e16f579e1ea2987cfb07a87 /server/config | |
parent | e9d53ad6be24fd509fa3c735ad2ff0dfa2203bc8 (diff) |
Configurable logfile location
Diffstat (limited to 'server/config')
-rw-r--r-- | server/config/config.go | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/server/config/config.go b/server/config/config.go index 0ae1e60..0ef417f 100644 --- a/server/config/config.go +++ b/server/config/config.go @@ -10,10 +10,10 @@ import ( // Config holds the server configuration. type Config struct { - Server `mapstructure:"server"` - Auth `mapstructure:"auth"` - SSH `mapstructure:"ssh"` - AWS `mapstructure:"aws"` + Server Server `mapstructure:"server"` + Auth Auth `mapstructure:"auth"` + SSH SSH `mapstructure:"ssh"` + AWS AWS `mapstructure:"aws"` } // unmarshalled holds the raw config. @@ -31,6 +31,7 @@ type Server struct { TLSCert string `mapstructure:"tls_cert"` Port int `mapstructure:"port"` CookieSecret string `mapstructure:"cookie_secret"` + HTTPLogFile string `mapstructure:"http_logfile"` } // Auth holds the configuration specific to the OAuth provider. |