Restore 'server' and 'agent' base loggers to use their original names (#19304)

This commit is contained in:
Peter Wilson 2023-02-23 14:56:21 +00:00 committed by GitHub
parent 9753379fe8
commit 15302d9fe2
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 1 additions and 2 deletions

View File

@ -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,

View File

@ -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,