79331126

Date: 2025-01-05 16:53:00
Score: 1
Natty:
Report link

Are you sure that, the log that you are expecting are not just... from Microsoft nameSpace ?

You put :

 lc.MinimumLevel.Override("Microsoft", Serilog.Events.LogEventLevel.Warning);
 lc.MinimumLevel.Override("System", Serilog.Events.LogEventLevel.Warning);

If you were excepting a log saying now listenning to some port or something, these are Information level from Microsoft.* namespace

Reasons:
  • Has code block (-0.5):
  • Contains question mark (0.5):
  • Low reputation (1):
Posted by: FHocs