Skip to content

Commit c11e3c2

Browse files
authored
Log shard completed snapshot message at TRACE (#117569)
This message is on the happy path, no need to log it at `DEBUG`. Relates ES-8773
1 parent 6130fbb commit c11e3c2

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

server/src/main/java/org/elasticsearch/snapshots/SnapshotShardsService.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -425,9 +425,9 @@ public void onResponse(ShardSnapshotResult shardSnapshotResult) {
425425
final ShardGeneration newGeneration = shardSnapshotResult.getGeneration();
426426
assert newGeneration != null;
427427
assert newGeneration.equals(snapshotStatus.generation());
428-
if (logger.isDebugEnabled()) {
428+
if (logger.isTraceEnabled()) {
429429
final IndexShardSnapshotStatus.Copy lastSnapshotStatus = snapshotStatus.asCopy();
430-
logger.debug(
430+
logger.trace(
431431
"[{}][{}] completed snapshot to [{}] with status [{}] at generation [{}]",
432432
shardId,
433433
snapshot,

0 commit comments

Comments
 (0)