Question: here's my case. I have a table named License\_expiration wherein I put the expiration date of the license. 
My problem is how do I get the expiration date -1 month to display into my dashboard table? im using html&css + php + mysql(mysqli).

ex. 2018/04/29 - expiration date. it should appear on the table when its 2018/03/29

Answer: 
It is as I suspected. Visual Studio is the man in the middle that swallows all the log messages. I think it has something to do with yaml overrides in docker-compose command that Visual Studio calls to probably enable all the debugging features.

```
docker-compose  -f "docker-compose.yml" -f "docker-compose.override.yml" -f "obj\Docker\docker-compose.vs.debug.g.yml" -p dockercompose2788718473649893946 up -d --force-recreate --remove-orphans

```

It looks like following file `obj\Docker\docker-compose.vs.debug.g.yml` is responsible for the behaviour I am experiencing. When I run this command without it, everything work as expected.

Thank you all for the brainstorming that led to this answer.
Adding the following to appsettings.json

```
  "Logging": {
    "LogLevel": {
      "Default": "Information",
      "System": "Information",
      "Microsoft": "Information"
    },
    "Console": {
      "IncludeScopes": true
    }
  }

```

be sure your project is configured to copy your appsettings, inside of YourProject.csproj ensure 

```
  <ItemGroup>
    <Content Include="appsettings.json">
      <CopyToOutputDirectory>Always</CopyToOutputDirectory>
    </Content>
  </ItemGroup>

```

I then added the config to the logging service.

```
            services.AddLogging(builder =>
                builder
                    .AddDebug()
                    .AddConsole()
                    .AddConfiguration(configuration.GetSection("Logging"))
                    .SetMinimumLevel(LogLevel.Information)
            );

```

hope this helps