diff --git a/pkg/setting/setting.go b/pkg/setting/setting.go index 478e9dcb8c5..853be2e3861 100644 --- a/pkg/setting/setting.go +++ b/pkg/setting/setting.go @@ -273,7 +273,7 @@ func loadSpecifedConfigFile(configFile string) { } defaultKey, err := defaultSec.GetKey(key.Name()) if err != nil { - log.Error(3, "Unknown config key %s defined in section %s, in file", key.Name(), section.Name(), configFile) + log.Error(3, "Unknown config key %s defined in section %s, in file %s", key.Name(), section.Name(), configFile) continue } defaultKey.SetValue(key.Value())