Skip to content

Commit

Permalink
change PruningBoundry setting log to Info (#7396)
Browse files Browse the repository at this point in the history
  • Loading branch information
tanishqjasoria authored Sep 4, 2024
1 parent 6a6814a commit f8527c9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Nethermind/Nethermind.Init/InitializeStateDb.cs
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,7 @@ public Task Execute(CancellationToken cancellationToken)

if (syncConfig.SnapServingEnabled == true && pruningConfig.PruningBoundary < 128)
{
if (_logger.IsWarn) _logger.Warn($"Snap serving enabled, but {nameof(pruningConfig.PruningBoundary)} is less than 128. Setting to 128.");
if (_logger.IsInfo) _logger.Info($"Snap serving enabled, but {nameof(pruningConfig.PruningBoundary)} is less than 128. Setting to 128.");
pruningConfig.PruningBoundary = 128;
}

Expand Down

0 comments on commit f8527c9

Please sign in to comment.