mirror of https://github.com/hashicorp/consul
change log level and add changelog
parent
7eda9c7f22
commit
8124fb33ae
|
@ -0,0 +1,3 @@
|
|||
```release-note:improvement
|
||||
logging: change snapshot log header from `agent.server.snapshot` to `agent.server.raft.snapshot`
|
||||
```
|
|
@ -53,7 +53,7 @@ func New(logger hclog.Logger, r *raft.Raft) (*Snapshot, error) {
|
|||
if err != nil {
|
||||
return nil, fmt.Errorf("failed to create snapshot file: %v", err)
|
||||
}
|
||||
logger.Info("creating temporary file of snapshot", "path", archive.Name())
|
||||
logger.Debug("creating temporary file of snapshot", "path", archive.Name())
|
||||
|
||||
// If anything goes wrong after this point, we will attempt to clean up
|
||||
// the temp file. The happy path will disarm this.
|
||||
|
|
Loading…
Reference in New Issue