Context, and what I tried so far...
As a policy our application configures logging from appsetting.json. I am using the following code: