extra logging

This commit is contained in:
Alex Dadgar 2018-09-27 09:34:58 -07:00 committed by Michael Schurter
parent 6f0ed6184b
commit 84ce8c3487
2 changed files with 2 additions and 1 deletions

View File

@ -56,7 +56,7 @@ func (a *Agent) internalPluginConfigs() (map[loader.PluginID]*loader.InternalPlu
for id, reg := range catalog {
if reg.Config == nil {
a.logger.Warn("skipping loading internal plugin because it is missing its configuration", "plugin", id)
a.logger.Error("skipping loading internal plugin because it is missing its configuration", "plugin", id)
continue
}

View File

@ -156,6 +156,7 @@ func (l *PluginLoader) scan() ([]os.FileInfo, error) {
if err != nil {
// There are no plugins to scan
if os.IsNotExist(err) {
l.logger.Debug("skipping external plugins since plugin_dir doesn't exist")
return nil, nil
}