Skip to content

Commit

Permalink
misc: set log level for sample and test projects
Browse files Browse the repository at this point in the history
  • Loading branch information
DennisDyallo committed Jan 9, 2025
1 parent 8e635c5 commit afb2a2a
Show file tree
Hide file tree
Showing 10 changed files with 48 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,12 @@ limitations under the License. -->
<UseWindowsForms Condition=" '$(OS)' == 'Windows_NT'">true</UseWindowsForms>
</PropertyGroup>
<ItemGroup>
<None Update="appsettings.json">
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
</None>
<ProjectReference Include="..\SharedSampleCode\SharedSampleCode.csproj" />

</ItemGroup>


</Project>
8 changes: 8 additions & 0 deletions Yubico.YubiKey/examples/Fido2SampleCode/appsettings.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
{
"AppName": "FidoSampleCode",
"Logging": {
"LogLevel": {
"Yubico": "Error"
}
}
}
3 changes: 3 additions & 0 deletions Yubico.YubiKey/examples/OathSampleCode/OathSampleCode.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,9 @@ limitations under the License. -->
</PropertyGroup>

<ItemGroup>
<None Update="appsettings.json">
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
</None>
<ProjectReference Include="..\SharedSampleCode\SharedSampleCode.csproj" />
</ItemGroup>

Expand Down
8 changes: 8 additions & 0 deletions Yubico.YubiKey/examples/OathSampleCode/appsettings.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
{
"AppName": "OathSampleCode",
"Logging": {
"LogLevel": {
"Yubico": "Error"
}
}
}
3 changes: 3 additions & 0 deletions Yubico.YubiKey/examples/PivSampleCode/PivSampleCode.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,9 @@ limitations under the License. -->
</PropertyGroup>

<ItemGroup>
<None Update="appsettings.json">
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
</None>
<ProjectReference Include="..\SharedSampleCode\SharedSampleCode.csproj" />
</ItemGroup>

Expand Down
8 changes: 8 additions & 0 deletions Yubico.YubiKey/examples/PivSampleCode/appsettings.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
{
"AppName": "PivSampleCode",
"Logging": {
"LogLevel": {
"Yubico": "Error"
}
}
}
3 changes: 3 additions & 0 deletions Yubico.YubiKey/examples/U2fSampleCode/U2fSampleCode.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,9 @@ limitations under the License. -->
</PropertyGroup>

<ItemGroup>
<None Update="appsettings.json">
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
</None>
<ProjectReference Include="..\SharedSampleCode\SharedSampleCode.csproj" />
</ItemGroup>

Expand Down
8 changes: 8 additions & 0 deletions Yubico.YubiKey/examples/U2fSampleCode/appsettings.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
{
"AppName": "U2FSampleCode",
"Logging": {
"LogLevel": {
"Yubico": "Error"
}
}
}
2 changes: 1 addition & 1 deletion Yubico.YubiKey/tests/integration/appsettings.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
"Yubico": "Debug"
},
"Console": {
"IncludeScopes": true,
"IncludeScopes": true
}
}
}
2 changes: 1 addition & 1 deletion Yubico.YubiKey/tests/unit/appsettings.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
"AppName": "UnitTests",
"Logging": {
"LogLevel": {
"Yubico": "Error"
"Yubico": "None"
},
"Console": {
"IncludeScopes": true
Expand Down

0 comments on commit afb2a2a

Please sign in to comment.