Remove logbuilder

dotnetflags
C-xC-c 5 years ago
parent f7c044ef79
commit aa8cb752e7

@ -13,12 +13,10 @@
<PrivateAssets>all</PrivateAssets>
<IncludeAssets>runtime; build; native; contentfiles; analyzers; buildtransitive</IncludeAssets>
</PackageReference>
<PackageReference Include="Microsoft.Extensions.Logging.Debug" Version="3.0.0" />
<PackageReference Include="Microsoft.VisualStudio.Web.CodeGeneration.Design" Version="3.0.0" />
<PackageReference Include="MySql.Data" Version="8.0.18" />
<PackageReference Include="Newtonsoft.Json" Version="12.0.3" />
<PackageReference Include="Nito.AsyncEx" Version="5.0.0" />
<PackageReference Include="Serilog.Extensions.Logging.File" Version="2.0.0-dev-00037" />
</ItemGroup>
<ItemGroup>

@ -18,9 +18,6 @@ namespace BantFlags
Host.CreateDefaultBuilder(args)
.ConfigureWebHostDefaults(webBuilder =>
{
// TODO: set this up properly for use on Debian.
webBuilder.ConfigureLogging(logBuilder =>
logBuilder.AddFile(@"/var/log/bantflags.log", minimumLevel: LogLevel.Information));
webBuilder.UseStartup<Startup>();
})
.ConfigureAppConfiguration((host, config) =>

Loading…
Cancel
Save