diff --git a/.changelog/17236.txt b/.changelog/17236.txt new file mode 100644 index 0000000000..c824bb7ed7 --- /dev/null +++ b/.changelog/17236.txt @@ -0,0 +1,3 @@ +```release-note:improvement +logging: change snapshot log header from `agent.server.snapshot` to `agent.server.raft.snapshot` +``` diff --git a/snapshot/snapshot.go b/snapshot/snapshot.go index 219f7c381a..a1deee9153 100644 --- a/snapshot/snapshot.go +++ b/snapshot/snapshot.go @@ -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.