Skip to content

Commit afb2a2a

Browse files
committed
misc: set log level for sample and test projects
1 parent 8e635c5 commit afb2a2a

File tree

10 files changed

+48
-2
lines changed

10 files changed

+48
-2
lines changed

Yubico.YubiKey/examples/Fido2SampleCode/Fido2SampleCode.csproj

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,12 @@ limitations under the License. -->
2424
<UseWindowsForms Condition=" '$(OS)' == 'Windows_NT'">true</UseWindowsForms>
2525
</PropertyGroup>
2626
<ItemGroup>
27+
<None Update="appsettings.json">
28+
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
29+
</None>
2730
<ProjectReference Include="..\SharedSampleCode\SharedSampleCode.csproj" />
31+
2832
</ItemGroup>
2933

34+
3035
</Project>
Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
{
2+
"AppName": "FidoSampleCode",
3+
"Logging": {
4+
"LogLevel": {
5+
"Yubico": "Error"
6+
}
7+
}
8+
}

Yubico.YubiKey/examples/OathSampleCode/OathSampleCode.csproj

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,9 @@ limitations under the License. -->
2222
</PropertyGroup>
2323

2424
<ItemGroup>
25+
<None Update="appsettings.json">
26+
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
27+
</None>
2528
<ProjectReference Include="..\SharedSampleCode\SharedSampleCode.csproj" />
2629
</ItemGroup>
2730

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
{
2+
"AppName": "OathSampleCode",
3+
"Logging": {
4+
"LogLevel": {
5+
"Yubico": "Error"
6+
}
7+
}
8+
}

Yubico.YubiKey/examples/PivSampleCode/PivSampleCode.csproj

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,9 @@ limitations under the License. -->
2222
</PropertyGroup>
2323

2424
<ItemGroup>
25+
<None Update="appsettings.json">
26+
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
27+
</None>
2528
<ProjectReference Include="..\SharedSampleCode\SharedSampleCode.csproj" />
2629
</ItemGroup>
2730

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
{
2+
"AppName": "PivSampleCode",
3+
"Logging": {
4+
"LogLevel": {
5+
"Yubico": "Error"
6+
}
7+
}
8+
}

Yubico.YubiKey/examples/U2fSampleCode/U2fSampleCode.csproj

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,9 @@ limitations under the License. -->
2222
</PropertyGroup>
2323

2424
<ItemGroup>
25+
<None Update="appsettings.json">
26+
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
27+
</None>
2528
<ProjectReference Include="..\SharedSampleCode\SharedSampleCode.csproj" />
2629
</ItemGroup>
2730

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
{
2+
"AppName": "U2FSampleCode",
3+
"Logging": {
4+
"LogLevel": {
5+
"Yubico": "Error"
6+
}
7+
}
8+
}

Yubico.YubiKey/tests/integration/appsettings.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
"Yubico": "Debug"
66
},
77
"Console": {
8-
"IncludeScopes": true,
8+
"IncludeScopes": true
99
}
1010
}
1111
}

Yubico.YubiKey/tests/unit/appsettings.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
"AppName": "UnitTests",
33
"Logging": {
44
"LogLevel": {
5-
"Yubico": "Error"
5+
"Yubico": "None"
66
},
77
"Console": {
88
"IncludeScopes": true

0 commit comments

Comments
 (0)