Live Logs

Live log streaming is available from the API server console output.

The API uses Serilog for structured logging. To view logs:

  • Check the console window where the API is running
  • Configure Serilog sinks in appsettings.json for file/seq/etc.

Log Categories

Category Description
ChangeDetectionService Feed polling and change detection
PeriodicVersionBroadcastService SignalR version broadcasts
SyncHub SignalR client connections and subscriptions
FeedController REST API requests

Sample Log Configuration

"Serilog": { "MinimumLevel": { "Default": "Information", "Override": { "Microsoft.AspNetCore": "Warning", "Microsoft.EntityFrameworkCore": "Warning" } }, "WriteTo": [ { "Name": "Console" }, { "Name": "File", "Args": { "path": "logs/datasync-.log", "rollingInterval": "Day" } } ] }