Skip to content

Commit

Permalink
Fix PhotonStateManager logging (#734)
Browse files Browse the repository at this point in the history
Was missing a few required packages to be able to write logs

Also:
- Actually set analysis level to latest-minimum, clearly forgot to
unstage the trial of latest-recommended during #733
- Fix dockerfiles copying everything
  • Loading branch information
SapiensAnatis authored Mar 24, 2024
1 parent eef69bc commit 553d234
Show file tree
Hide file tree
Showing 15 changed files with 166 additions and 140 deletions.
2 changes: 1 addition & 1 deletion Directory.Build.props
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
<ImplicitUsings>enable</ImplicitUsings>
<Nullable>enable</Nullable>
<RestorePackagesWithLockFile>true</RestorePackagesWithLockFile>
<AnalysisLevel>latest-recommended</AnalysisLevel>
<AnalysisLevel>latest-minimum</AnalysisLevel>
</PropertyGroup>

<PropertyGroup>
Expand Down
38 changes: 19 additions & 19 deletions DragaliaAPI/DragaliaAPI.Database.Test/packages.lock.json
Original file line number Diff line number Diff line change
Expand Up @@ -1535,12 +1535,12 @@
"MessagePack.AspNetCoreMvcFormatter": "[2.5.140, )",
"Microsoft.AspNetCore.TestHost": "[8.0.2, )",
"Microsoft.EntityFrameworkCore.Design": "[8.0.2, )",
"Microsoft.Extensions.Caching.StackExchangeRedis": "[8.0.2, )",
"Microsoft.Extensions.Caching.StackExchangeRedis": "[8.0.3, )",
"Microsoft.Extensions.DependencyInjection": "[8.0.0, )",
"Microsoft.Extensions.DependencyInjection.Abstractions": "[8.0.0, )",
"Microsoft.Extensions.DependencyInjection.Abstractions": "[8.0.1, )",
"Microsoft.Extensions.Diagnostics.HealthChecks.EntityFrameworkCore": "[8.0.2, )",
"Microsoft.Extensions.Logging": "[8.0.0, )",
"Microsoft.Extensions.Logging.Abstractions": "[8.0.0, )",
"Microsoft.Extensions.Logging.Abstractions": "[8.0.1, )",
"Microsoft.IdentityModel.Tokens": "[7.3.1, )",
"Microsoft.VisualStudio.Azure.Containers.Tools.Targets": "[1.19.6, )",
"Microsoft.VisualStudio.Web.CodeGeneration.Design": "[8.0.1, )",
Expand All @@ -1556,7 +1556,7 @@
"Serilog.Sinks.File": "[5.0.0, )",
"Serilog.Sinks.Seq": "[6.0.0, )",
"System.IdentityModel.Tokens.Jwt": "[7.2.0, )",
"System.Text.Json": "[8.0.2, )"
"System.Text.Json": "[8.0.3, )"
}
},
"dragaliaapi.database": {
Expand Down Expand Up @@ -1584,7 +1584,7 @@
"dependencies": {
"DragaliaAPI.Photon.Shared": "[1.0.0, )",
"JetBrains.Annotations": "[2023.3.0, )",
"Microsoft.Extensions.DependencyInjection.Abstractions": "[8.0.0, )",
"Microsoft.Extensions.DependencyInjection.Abstractions": "[8.0.1, )",
"Microsoft.Extensions.Identity.Core": "[8.0.2, )",
"Serilog": "[3.1.1, )"
}
Expand Down Expand Up @@ -1750,12 +1750,12 @@
},
"Microsoft.Extensions.Caching.StackExchangeRedis": {
"type": "CentralTransitive",
"requested": "[8.0.2, )",
"resolved": "8.0.2",
"contentHash": "hVBF/rfSJG3N9cenB6mANvsz+7MQ79PihorQrk5itDWnvkjb0ThdsznwMfDDkJxHdh4Iw0u80pessVXGPdCIdA==",
"requested": "[8.0.3, )",
"resolved": "8.0.3",
"contentHash": "NfnFmpvH0cR1Hk9ZGoMWnEFTi5xWa9f9LlApL1tFt6fdEmLnU8QZQkO+dY/6h7YjpwSZm0QigL377B+IzrOpXQ==",
"dependencies": {
"Microsoft.Extensions.Caching.Abstractions": "8.0.0",
"Microsoft.Extensions.Logging.Abstractions": "8.0.0",
"Microsoft.Extensions.Logging.Abstractions": "8.0.1",
"Microsoft.Extensions.Options": "8.0.2",
"StackExchange.Redis": "2.6.122"
}
Expand All @@ -1771,9 +1771,9 @@
},
"Microsoft.Extensions.DependencyInjection.Abstractions": {
"type": "CentralTransitive",
"requested": "[8.0.0, )",
"resolved": "8.0.0",
"contentHash": "cjWrLkJXK0rs4zofsK4bSdg+jhDLTaxrkXu4gS6Y7MAlCvRyNNgwY/lJi5RDlQOnSZweHqoyvgvbdvQsRIW+hg=="
"requested": "[8.0.1, )",
"resolved": "8.0.1",
"contentHash": "fGLiCRLMYd00JYpClraLjJTNKLmMJPnqxMaiRzEBIIvevlzxz33mXy39Lkd48hu1G+N21S7QpaO5ZzKsI6FRuA=="
},
"Microsoft.Extensions.Diagnostics.HealthChecks.EntityFrameworkCore": {
"type": "CentralTransitive",
Expand Down Expand Up @@ -1810,11 +1810,11 @@
},
"Microsoft.Extensions.Logging.Abstractions": {
"type": "CentralTransitive",
"requested": "[8.0.0, )",
"resolved": "8.0.0",
"contentHash": "arDBqTgFCyS0EvRV7O3MZturChstm50OJ0y9bDJvAcmEPJm0FFpFyjU/JLYyStNGGey081DvnQYlncNX5SJJGA==",
"requested": "[8.0.1, )",
"resolved": "8.0.1",
"contentHash": "RIFgaqoaINxkM2KTOw72dmilDmTrYA0ns2KW4lDz4gZ2+o6IQ894CzmdL3StM2oh7QQq44nCWiqKqc4qUI9Jmg==",
"dependencies": {
"Microsoft.Extensions.DependencyInjection.Abstractions": "8.0.0"
"Microsoft.Extensions.DependencyInjection.Abstractions": "8.0.1"
}
},
"Microsoft.IdentityModel.Tokens": {
Expand Down Expand Up @@ -1989,9 +1989,9 @@
},
"System.Text.Json": {
"type": "CentralTransitive",
"requested": "[8.0.2, )",
"resolved": "8.0.2",
"contentHash": "29KA2StjWDYp32FvREifawRtNpTziLE1xyuDV9pVQ+MsaE9bIcIieP0io/eZZeLMxR+Nx9zI55RtUtpVpEIdeg==",
"requested": "[8.0.3, )",
"resolved": "8.0.3",
"contentHash": "hpagS9joOwv6efWfrMmV9MjQXpiXZH72PgN067Ysfr6AWMSD1/1hEcvh/U5mUpPLezEWsOJSuVrmqDIVD958iA==",
"dependencies": {
"System.Text.Encodings.Web": "8.0.0"
}
Expand Down
12 changes: 6 additions & 6 deletions DragaliaAPI/DragaliaAPI.Database/packages.lock.json
Original file line number Diff line number Diff line change
Expand Up @@ -489,7 +489,7 @@
"dependencies": {
"DragaliaAPI.Photon.Shared": "[1.0.0, )",
"JetBrains.Annotations": "[2023.3.0, )",
"Microsoft.Extensions.DependencyInjection.Abstractions": "[8.0.0, )",
"Microsoft.Extensions.DependencyInjection.Abstractions": "[8.0.1, )",
"Microsoft.Extensions.Identity.Core": "[8.0.2, )",
"Serilog": "[3.1.1, )"
}
Expand Down Expand Up @@ -522,9 +522,9 @@
},
"Microsoft.Extensions.DependencyInjection.Abstractions": {
"type": "CentralTransitive",
"requested": "[8.0.0, )",
"resolved": "8.0.0",
"contentHash": "cjWrLkJXK0rs4zofsK4bSdg+jhDLTaxrkXu4gS6Y7MAlCvRyNNgwY/lJi5RDlQOnSZweHqoyvgvbdvQsRIW+hg=="
"requested": "[8.0.1, )",
"resolved": "8.0.1",
"contentHash": "fGLiCRLMYd00JYpClraLjJTNKLmMJPnqxMaiRzEBIIvevlzxz33mXy39Lkd48hu1G+N21S7QpaO5ZzKsI6FRuA=="
},
"Microsoft.Extensions.Identity.Core": {
"type": "CentralTransitive",
Expand All @@ -550,7 +550,7 @@
},
"Microsoft.Extensions.Logging.Abstractions": {
"type": "CentralTransitive",
"requested": "[8.0.0, )",
"requested": "[8.0.1, )",
"resolved": "8.0.0",
"contentHash": "arDBqTgFCyS0EvRV7O3MZturChstm50OJ0y9bDJvAcmEPJm0FFpFyjU/JLYyStNGGey081DvnQYlncNX5SJJGA==",
"dependencies": {
Expand All @@ -559,7 +559,7 @@
},
"System.Text.Json": {
"type": "CentralTransitive",
"requested": "[8.0.2, )",
"requested": "[8.0.3, )",
"resolved": "8.0.0",
"contentHash": "OdrZO2WjkiEG6ajEFRABTRCi/wuXQPxeV6g8xvUJqdxMvvuCCEk86zPla8UiIQJz3durtUEbNyY/3lIhS0yZvQ==",
"dependencies": {
Expand Down
38 changes: 19 additions & 19 deletions DragaliaAPI/DragaliaAPI.Integration.Test/packages.lock.json
Original file line number Diff line number Diff line change
Expand Up @@ -2093,12 +2093,12 @@
"MessagePack.AspNetCoreMvcFormatter": "[2.5.140, )",
"Microsoft.AspNetCore.TestHost": "[8.0.2, )",
"Microsoft.EntityFrameworkCore.Design": "[8.0.2, )",
"Microsoft.Extensions.Caching.StackExchangeRedis": "[8.0.2, )",
"Microsoft.Extensions.Caching.StackExchangeRedis": "[8.0.3, )",
"Microsoft.Extensions.DependencyInjection": "[8.0.0, )",
"Microsoft.Extensions.DependencyInjection.Abstractions": "[8.0.0, )",
"Microsoft.Extensions.DependencyInjection.Abstractions": "[8.0.1, )",
"Microsoft.Extensions.Diagnostics.HealthChecks.EntityFrameworkCore": "[8.0.2, )",
"Microsoft.Extensions.Logging": "[8.0.0, )",
"Microsoft.Extensions.Logging.Abstractions": "[8.0.0, )",
"Microsoft.Extensions.Logging.Abstractions": "[8.0.1, )",
"Microsoft.IdentityModel.Tokens": "[7.3.1, )",
"Microsoft.VisualStudio.Azure.Containers.Tools.Targets": "[1.19.6, )",
"Microsoft.VisualStudio.Web.CodeGeneration.Design": "[8.0.1, )",
Expand All @@ -2114,7 +2114,7 @@
"Serilog.Sinks.File": "[5.0.0, )",
"Serilog.Sinks.Seq": "[6.0.0, )",
"System.IdentityModel.Tokens.Jwt": "[7.2.0, )",
"System.Text.Json": "[8.0.2, )"
"System.Text.Json": "[8.0.3, )"
}
},
"dragaliaapi.database": {
Expand Down Expand Up @@ -2142,7 +2142,7 @@
"dependencies": {
"DragaliaAPI.Photon.Shared": "[1.0.0, )",
"JetBrains.Annotations": "[2023.3.0, )",
"Microsoft.Extensions.DependencyInjection.Abstractions": "[8.0.0, )",
"Microsoft.Extensions.DependencyInjection.Abstractions": "[8.0.1, )",
"Microsoft.Extensions.Identity.Core": "[8.0.2, )",
"Serilog": "[3.1.1, )"
}
Expand Down Expand Up @@ -2308,12 +2308,12 @@
},
"Microsoft.Extensions.Caching.StackExchangeRedis": {
"type": "CentralTransitive",
"requested": "[8.0.2, )",
"resolved": "8.0.2",
"contentHash": "hVBF/rfSJG3N9cenB6mANvsz+7MQ79PihorQrk5itDWnvkjb0ThdsznwMfDDkJxHdh4Iw0u80pessVXGPdCIdA==",
"requested": "[8.0.3, )",
"resolved": "8.0.3",
"contentHash": "NfnFmpvH0cR1Hk9ZGoMWnEFTi5xWa9f9LlApL1tFt6fdEmLnU8QZQkO+dY/6h7YjpwSZm0QigL377B+IzrOpXQ==",
"dependencies": {
"Microsoft.Extensions.Caching.Abstractions": "8.0.0",
"Microsoft.Extensions.Logging.Abstractions": "8.0.0",
"Microsoft.Extensions.Logging.Abstractions": "8.0.1",
"Microsoft.Extensions.Options": "8.0.2",
"StackExchange.Redis": "2.6.122"
}
Expand All @@ -2329,9 +2329,9 @@
},
"Microsoft.Extensions.DependencyInjection.Abstractions": {
"type": "CentralTransitive",
"requested": "[8.0.0, )",
"resolved": "8.0.0",
"contentHash": "cjWrLkJXK0rs4zofsK4bSdg+jhDLTaxrkXu4gS6Y7MAlCvRyNNgwY/lJi5RDlQOnSZweHqoyvgvbdvQsRIW+hg=="
"requested": "[8.0.1, )",
"resolved": "8.0.1",
"contentHash": "fGLiCRLMYd00JYpClraLjJTNKLmMJPnqxMaiRzEBIIvevlzxz33mXy39Lkd48hu1G+N21S7QpaO5ZzKsI6FRuA=="
},
"Microsoft.Extensions.Diagnostics.HealthChecks.EntityFrameworkCore": {
"type": "CentralTransitive",
Expand Down Expand Up @@ -2368,11 +2368,11 @@
},
"Microsoft.Extensions.Logging.Abstractions": {
"type": "CentralTransitive",
"requested": "[8.0.0, )",
"resolved": "8.0.0",
"contentHash": "arDBqTgFCyS0EvRV7O3MZturChstm50OJ0y9bDJvAcmEPJm0FFpFyjU/JLYyStNGGey081DvnQYlncNX5SJJGA==",
"requested": "[8.0.1, )",
"resolved": "8.0.1",
"contentHash": "RIFgaqoaINxkM2KTOw72dmilDmTrYA0ns2KW4lDz4gZ2+o6IQ894CzmdL3StM2oh7QQq44nCWiqKqc4qUI9Jmg==",
"dependencies": {
"Microsoft.Extensions.DependencyInjection.Abstractions": "8.0.0"
"Microsoft.Extensions.DependencyInjection.Abstractions": "8.0.1"
}
},
"Microsoft.IdentityModel.Tokens": {
Expand Down Expand Up @@ -2547,9 +2547,9 @@
},
"System.Text.Json": {
"type": "CentralTransitive",
"requested": "[8.0.2, )",
"resolved": "8.0.2",
"contentHash": "29KA2StjWDYp32FvREifawRtNpTziLE1xyuDV9pVQ+MsaE9bIcIieP0io/eZZeLMxR+Nx9zI55RtUtpVpEIdeg==",
"requested": "[8.0.3, )",
"resolved": "8.0.3",
"contentHash": "hpagS9joOwv6efWfrMmV9MjQXpiXZH72PgN067Ysfr6AWMSD1/1hEcvh/U5mUpPLezEWsOJSuVrmqDIVD958iA==",
"dependencies": {
"System.Text.Encodings.Web": "8.0.0"
}
Expand Down
10 changes: 5 additions & 5 deletions DragaliaAPI/DragaliaAPI.MissionDesigner/packages.lock.json
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@
"dependencies": {
"DragaliaAPI.Photon.Shared": "[1.0.0, )",
"JetBrains.Annotations": "[2023.3.0, )",
"Microsoft.Extensions.DependencyInjection.Abstractions": "[8.0.0, )",
"Microsoft.Extensions.DependencyInjection.Abstractions": "[8.0.1, )",
"Microsoft.Extensions.Identity.Core": "[8.0.2, )",
"Serilog": "[3.1.1, )"
}
Expand All @@ -88,9 +88,9 @@
},
"Microsoft.Extensions.DependencyInjection.Abstractions": {
"type": "CentralTransitive",
"requested": "[8.0.0, )",
"resolved": "8.0.0",
"contentHash": "cjWrLkJXK0rs4zofsK4bSdg+jhDLTaxrkXu4gS6Y7MAlCvRyNNgwY/lJi5RDlQOnSZweHqoyvgvbdvQsRIW+hg=="
"requested": "[8.0.1, )",
"resolved": "8.0.1",
"contentHash": "fGLiCRLMYd00JYpClraLjJTNKLmMJPnqxMaiRzEBIIvevlzxz33mXy39Lkd48hu1G+N21S7QpaO5ZzKsI6FRuA=="
},
"Microsoft.Extensions.Identity.Core": {
"type": "CentralTransitive",
Expand All @@ -116,7 +116,7 @@
},
"Microsoft.Extensions.Logging.Abstractions": {
"type": "CentralTransitive",
"requested": "[8.0.0, )",
"requested": "[8.0.1, )",
"resolved": "8.0.0",
"contentHash": "arDBqTgFCyS0EvRV7O3MZturChstm50OJ0y9bDJvAcmEPJm0FFpFyjU/JLYyStNGGey081DvnQYlncNX5SJJGA==",
"dependencies": {
Expand Down
10 changes: 5 additions & 5 deletions DragaliaAPI/DragaliaAPI.Shared.Test/packages.lock.json
Original file line number Diff line number Diff line change
Expand Up @@ -182,7 +182,7 @@
"dependencies": {
"DragaliaAPI.Photon.Shared": "[1.0.0, )",
"JetBrains.Annotations": "[2023.3.0, )",
"Microsoft.Extensions.DependencyInjection.Abstractions": "[8.0.0, )",
"Microsoft.Extensions.DependencyInjection.Abstractions": "[8.0.1, )",
"Microsoft.Extensions.Identity.Core": "[8.0.2, )",
"Serilog": "[3.1.1, )"
}
Expand Down Expand Up @@ -215,9 +215,9 @@
},
"Microsoft.Extensions.DependencyInjection.Abstractions": {
"type": "CentralTransitive",
"requested": "[8.0.0, )",
"resolved": "8.0.0",
"contentHash": "cjWrLkJXK0rs4zofsK4bSdg+jhDLTaxrkXu4gS6Y7MAlCvRyNNgwY/lJi5RDlQOnSZweHqoyvgvbdvQsRIW+hg=="
"requested": "[8.0.1, )",
"resolved": "8.0.1",
"contentHash": "fGLiCRLMYd00JYpClraLjJTNKLmMJPnqxMaiRzEBIIvevlzxz33mXy39Lkd48hu1G+N21S7QpaO5ZzKsI6FRuA=="
},
"Microsoft.Extensions.Identity.Core": {
"type": "CentralTransitive",
Expand All @@ -243,7 +243,7 @@
},
"Microsoft.Extensions.Logging.Abstractions": {
"type": "CentralTransitive",
"requested": "[8.0.0, )",
"requested": "[8.0.1, )",
"resolved": "8.0.0",
"contentHash": "arDBqTgFCyS0EvRV7O3MZturChstm50OJ0y9bDJvAcmEPJm0FFpFyjU/JLYyStNGGey081DvnQYlncNX5SJJGA==",
"dependencies": {
Expand Down
8 changes: 4 additions & 4 deletions DragaliaAPI/DragaliaAPI.Shared/packages.lock.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,9 +10,9 @@
},
"Microsoft.Extensions.DependencyInjection.Abstractions": {
"type": "Direct",
"requested": "[8.0.0, )",
"resolved": "8.0.0",
"contentHash": "cjWrLkJXK0rs4zofsK4bSdg+jhDLTaxrkXu4gS6Y7MAlCvRyNNgwY/lJi5RDlQOnSZweHqoyvgvbdvQsRIW+hg=="
"requested": "[8.0.1, )",
"resolved": "8.0.1",
"contentHash": "fGLiCRLMYd00JYpClraLjJTNKLmMJPnqxMaiRzEBIIvevlzxz33mXy39Lkd48hu1G+N21S7QpaO5ZzKsI6FRuA=="
},
"Microsoft.Extensions.Identity.Core": {
"type": "Direct",
Expand Down Expand Up @@ -112,7 +112,7 @@
},
"Microsoft.Extensions.Logging.Abstractions": {
"type": "CentralTransitive",
"requested": "[8.0.0, )",
"requested": "[8.0.1, )",
"resolved": "8.0.0",
"contentHash": "arDBqTgFCyS0EvRV7O3MZturChstm50OJ0y9bDJvAcmEPJm0FFpFyjU/JLYyStNGGey081DvnQYlncNX5SJJGA==",
"dependencies": {
Expand Down
Loading

0 comments on commit 553d234

Please sign in to comment.