Restore 'server' and 'agent' base loggers to use their original names (#19304)
This commit is contained in:
parent
9753379fe8
commit
15302d9fe2
|
@ -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,
|
||||
|
|
|
@ -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,
|
||||
|
|
Loading…
Reference in New Issue