Skip to content

Commit

Permalink
Restore 'server' and 'agent' base loggers to use their original names (
Browse files Browse the repository at this point in the history
  • Loading branch information
Peter Wilson authored Feb 23, 2023
1 parent f95e2fe commit 7d52daf
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 2 deletions.
2 changes: 1 addition & 1 deletion command/agent.go
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down
1 change: 0 additions & 1 deletion command/server.go
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down

0 comments on commit 7d52daf

Please sign in to comment.