From 7d52daf715c9738d32c3a388d60fddc09550ac31 Mon Sep 17 00:00:00 2001 From: Peter Wilson Date: Thu, 23 Feb 2023 14:56:21 +0000 Subject: [PATCH] Restore 'server' and 'agent' base loggers to use their original names (#19304) --- command/agent.go | 2 +- command/server.go | 1 - 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/command/agent.go b/command/agent.go index bf153c8529a6..fd1ea68105fe 100644 --- a/command/agent.go +++ b/command/agent.go @@ -1253,7 +1253,7 @@ func (c *AgentCommand) newLogger() (log.InterceptLogger, error) { } logCfg := &logging.LogConfig{ - Name: "vault-agent", + Name: "agent", LogLevel: logLevel, LogFormat: logFormat, LogFilePath: c.config.LogFile, diff --git a/command/server.go b/command/server.go index dd5526eb7299..a15f1b7122db 100644 --- a/command/server.go +++ b/command/server.go @@ -1721,7 +1721,6 @@ func (c *ServerCommand) configureLogging(config *server.Config) (hclog.Intercept } logCfg := &loghelper.LogConfig{ - Name: "vault", LogLevel: logLevel, LogFormat: logFormat, LogFilePath: config.LogFile,