fork(1) download
  1. #!/bin/bash
  2. s='info: Microsoft.EntityFrameworkCore.Migrations[20405]
  3. No migrations were applied. The database is already up to date.
  4. dbug: Microsoft.EntityFrameworkCore.Infrastructure[10407]
  5. '"'"'IDCDbContext'"'"' disposed.
  6. warn: Microsoft.AspNetCore.DataProtection.Repositories.FileSystemXmlRepository[60]
  7. Storing keys in a directory '"'"'/root/.aspnet/DataProtection-Keys'"'"' that may not be persisted outside of the container. Protected data will be unavailable when container is destroyed.
  8. info: Hangfire.PostgreSql.PostgreSqlStorage[0]
  9. Start installing Hangfire SQL objects...'
  10.  
  11. sed '/^dbug/{:b;N;/^[[:lower:]]/!bb;/EntityFramework/d}' <<< "$s"
Success #stdin #stdout 0.01s 5544KB
stdin
Standard input is empty
stdout
info: Microsoft.EntityFrameworkCore.Migrations[20405]
      No migrations were applied. The database is already up to date.
warn: Microsoft.AspNetCore.DataProtection.Repositories.FileSystemXmlRepository[60]
      Storing keys in a directory '/root/.aspnet/DataProtection-Keys' that may not be persisted outside of the container. Protected data will be unavailable when container is destroyed.
info: Hangfire.PostgreSql.PostgreSqlStorage[0]
      Start installing Hangfire SQL objects...