Skip to content

[Enh]: Let's consider some default log-level values in dab init. #3270

@JerryNixon

Description

@JerryNixon

What?

Observe and remove needless namespaces in the dab start output.

Why?

We can be smart about this and reduce the noise in dab start.

How?

Limit, do not eliminate. Allow developer to change after dab init.

{
  "log-level": {
    "Select-Namespace": "warning"
  }
}

Ideal output

C:\Temp\dab-todo-test>dab start -c "dab-config.json" 
info: Microsoft.DataApiBuilder 2.0.0
info: User provided config file: dab-config.json
info: Now listening on: http://localhost:5000
info: Now listening on: https://localhost:5001

Data API builder Preamble

info: Microsoft.DataApiBuilder 2.0.0
info: User provided config file: dab-config.json

Data API builder Postlude

info: Now listening on: http://localhost:5000
info: Now listening on: https://localhost:5001

Candidates

  • Azure.DataApiBuilder.Core: Warning
  • Azure.DataApiBuilder.Service: Warning
  • Microsoft.AspNetCore.DataProtection: Warning
  • Microsoft.AspNetCore.Mvc: Warning
  • Microsoft.Hosting: Warning
  • Microsoft.Extensions.Hosting: Warning
Image

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions