From 6e7dfa0df6b102219817e26095f2ba636cd9288c Mon Sep 17 00:00:00 2001 From: Niall Sheridan Date: Thu, 30 Jun 2016 22:27:28 +0100 Subject: Configurable logfile location --- server/config/config.go | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) (limited to 'server') 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. -- cgit v1.2.3