Serilog doesn’t respect configuration in docker container

Hello I have a problem with serilog when setting my netcore 3.1 app running in docker.
When running in VS2019 all microsoft information logs are not present as it should be, but in docker all microsoft information logs are there, minimum level and output format are not respected.

I’m also logging to mysql and the result is the same, I dont need to add all that "Executed action…" "Executed Endpoint…" "Route Matched" to the logs database since its mainly garbage, I only need the WARNINGS from microsoft logs.

I can’t seem to solve this…
Ideas anyone?

Local debugging:
local

MySQL:
localMysql

Docker:
docker

Docker MySQL result:
dockerMysql

My configuration file is this.

"Serilog": {
"Using": [ "Serilog.Sinks.Console", "Serilog.Sinks.MySQL" ],
"MinimumLevel": {
  "Default": "Information",
  "Override": {
    "Microsoft": "Warning",
    "System": "Warning"
  }
},
"WriteTo": [
  {
    "Name": "Console",
    "Args": {
      "outputTemplate": "[{Timestamp:HH:mm:ss} {Level:u3}]{ProcessId}|{ThreadId}|{Message:lj} <s:{SourceContext}> {NewLine}{Exception}"
    }
  },
  {
    "Name": "MySQL",
    "Args": {
      "connectionString": "Server=localhost;Port=3306;Uid=root;Pwd=*;Database=nbsoftlogs;",
      "tableName": "nbsoftinvxpresslogs",
      "outputTemplate": "[{Timestamp:HH:mm:ss} {Level:u3}]{ProcessId}|{ThreadId}|{Message:lj} <s:{SourceContext}> {NewLine}{Exception}"
    }
  }
],
"Enrich": [
  "FromLogContext",
  "WithMachineName",
  "WithProcessId",
  "WithThreadId"
],
"Properties": {
  "ApplicationName": "InvXPress.Backend"
}
}

Source: Docker Questions