feat: Add Serilog SQLite sink and Serilog.UI dashboard with centralized log directory configuration
- Add Serilog.Sinks.SQLite v7.0.0 for structured logging to SQLite database - Add Serilog.UI v3.2.0 and Serilog.UI.SqliteProvider v1.1.0 for web-based log viewer - Add Serilog.Settings.Configuration v10.0.1 for configuration support - Configure SQLite log storage at E:\LogFiles\Digital Data\ECMJobRunner.WebCron\logs.db - Add Serilog.UI dashboard at /serilog-ui endpoint - Centralize log directory configuration in appsettings.json (Logging:LogDirectory) - Configure Serilog programmatically with Console and SQLite sinks - Remove deprecated Serilog configuration from appsettings files (now using code-based config) - Enable Serilog self-diagnostics for troubleshooting - Both Serilog sink and Serilog.UI use same SQLite database path from configuration
This commit is contained in:
@@ -14,8 +14,12 @@
|
||||
<PackageReference Include="Microsoft.Data.SqlClient" Version="7.0.2" />
|
||||
<PackageReference Include="Microsoft.Extensions.Hosting.WindowsServices" Version="10.0.9" />
|
||||
<PackageReference Include="Serilog.AspNetCore" Version="10.0.0" />
|
||||
<PackageReference Include="Serilog.Settings.Configuration" Version="10.0.1" />
|
||||
<PackageReference Include="Serilog.Sinks.Console" Version="6.1.1" />
|
||||
<PackageReference Include="Serilog.Sinks.File" Version="7.0.0" />
|
||||
<PackageReference Include="Serilog.Sinks.SQLite" Version="7.0.0" />
|
||||
<PackageReference Include="Serilog.UI" Version="3.2.0" />
|
||||
<PackageReference Include="Serilog.UI.SqliteProvider" Version="1.1.0" />
|
||||
<PackageReference Include="Swashbuckle.AspNetCore" Version="6.6.2" />
|
||||
</ItemGroup>
|
||||
|
||||
|
||||
Reference in New Issue
Block a user