Don't resetnamed

This commit is contained in:
Jeff Mitchell
2018-08-23 15:04:18 -04:00
parent e4b251661b
commit 4d879d20fe
8 changed files with 17 additions and 13 deletions

View File

@@ -423,7 +423,7 @@ func (c *ServerCommand) Run(args []string) int {
c.UI.Error(fmt.Sprintf("Unknown storage type %s", config.Storage.Type))
return 1
}
backend, err := factory(config.Storage.Config, c.logger.ResetNamed("storage."+config.Storage.Type))
backend, err := factory(config.Storage.Config, c.logger.Named("storage."+config.Storage.Type))
if err != nil {
c.UI.Error(fmt.Sprintf("Error initializing storage of type %s: %s", config.Storage.Type, err))
return 1