Skip to content

Commit abc9a23

Browse files
author
Aayush Maini
committed
Reduce log level for per file level logs in RustSbomDetector
1 parent f254244 commit abc9a23

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/Microsoft.ComponentDetection.Detectors/rust/RustSbomDetector.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -252,7 +252,7 @@ protected override async Task OnFileFoundAsync(
252252
var normDirectory = this.pathUtilityService.NormalizePath(directory);
253253
var fileName = Path.GetFileName(location);
254254

255-
this.Logger.LogInformation("Processing file: {Location}", normLocation);
255+
this.Logger.LogDebug("Processing file: {Location}", normLocation);
256256

257257
// Determine file kind
258258
FileKind fileKind;
@@ -272,7 +272,7 @@ protected override async Task OnFileFoundAsync(
272272
// Check if directory should be skipped
273273
if (this.ShouldSkip(directory, fileKind, location))
274274
{
275-
this.Logger.LogInformation("Skipping file due to skip rules: {Location}", normLocation);
275+
this.Logger.LogDebug("Skipping file due to skip rules: {Location}", normLocation);
276276

277277
// Increment skip counters
278278
switch (fileKind)

0 commit comments

Comments
 (0)