Skip to content

Commit

Permalink
backport of commit 8124fb3
Browse files Browse the repository at this point in the history
  • Loading branch information
huikang committed May 9, 2023
1 parent d6ee6d6 commit 608d03d
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
3 changes: 3 additions & 0 deletions .changelog/17236.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
```release-note:improvement
logging: change snapshot log header from `agent.server.snapshot` to `agent.server.raft.snapshot`
```
2 changes: 1 addition & 1 deletion snapshot/snapshot.go
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,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.
Expand Down

0 comments on commit 608d03d

Please sign in to comment.