Skip to content

Commit bdadc25

Browse files
committed
Changed some logging from info level to debug
1 parent 9207043 commit bdadc25

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

src/CodeUpdater/CodeUpdater/WorkLocator.cs

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,7 @@ public ImmutableArray<string> FindCsProjFiles(string rootDirectory, ImmutableArr
5454
var skipPath = skipPaths.FirstOrDefault(x => csProjFilePath.Contains(x, StringComparison.OrdinalIgnoreCase));
5555
if (skipPath is object)
5656
{
57-
Logger.Information($"Skipping '{csProjFilePath}' file because it's path should be ignored by rule: {skipPath}");
57+
Logger.Debug($"Skipping '{csProjFilePath}' file because it's path should be ignored by rule: {skipPath}");
5858
}
5959
else
6060
{
@@ -69,7 +69,7 @@ public ImmutableArray<string> FindNpmDirectories(string rootDirectory, Immutable
6969
{
7070
if (UpdateOptions.NpmOptions is null)
7171
{
72-
Logger.Information("Np NpmOptions config set, will not attempt to update NPM Packages");
72+
Logger.Information("No NpmOptions config set, will not attempt to update NPM Packages");
7373
return ImmutableArray<string>.Empty;
7474
}
7575

@@ -81,14 +81,14 @@ public ImmutableArray<string> FindNpmDirectories(string rootDirectory, Immutable
8181
var packagePath = Path.GetDirectoryName(packageJsonPath);
8282
if (string.IsNullOrWhiteSpace(packagePath))
8383
{
84-
Logger.Information($"Skipping '{packageJsonPath}' file because it's path is null or empty");
84+
Logger.Debug($"Skipping '{packageJsonPath}' file because it's path is null or empty");
8585
continue;
8686
}
8787

8888
var skipPath = skipPaths.FirstOrDefault(x => packagePath.Contains(x, StringComparison.OrdinalIgnoreCase));
8989
if (skipPath is object)
9090
{
91-
Logger.Information($"Skipping '{packagePath}' because it's path should be ignored by rule: {skipPath}");
91+
Logger.Debug($"Skipping '{packagePath}' because it's path should be ignored by rule: {skipPath}");
9292
}
9393
else
9494
{

0 commit comments

Comments
 (0)