I have configured Serilog using (I have attempted this with the dispose option both true and false)
services.AddLogging(