From: Michael Henderson Date: Mon, 9 Oct 2017 04:23:07 +0000 (-0600) Subject: Add correct config file name to verbose server log X-Git-Tag: v0.30~12 X-Git-Url: http://git.maquefel.me/?a=commitdiff_plain;h=15ec031d9;p=brevno-suite%2Fhugo Add correct config file name to verbose server log Server logging uses the wrong variable when displaying the configuration file name. This update changes the log to use the `config` variable. --- diff --git a/commands/hugo.go b/commands/hugo.go index 2c6e3ffe..4acc5c4e 100644 --- a/commands/hugo.go +++ b/commands/hugo.go @@ -391,7 +391,7 @@ func InitializeConfig(subCmdVs ...*cobra.Command) (*deps.DepsCfg, error) { return nil, err } - cfg.Logger.INFO.Println("Using config file:", viper.ConfigFileUsed()) + cfg.Logger.INFO.Println("Using config file:", config.ConfigFileUsed()) themeDir := c.PathSpec().GetThemeDir() if themeDir != "" {