Azure / Azure/data-api-builder
[Enh]: Let's consider some default `log-level` values in `dab init`.
- Vorherrschende Sprache
- C#
- Sterne
- 1.5k
- Forks
- 370
- Ø Merge
- 3 T. 22 Std.
- Gemergte PRs (30 T.)
- 9
Beschreibung
## 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`.
```json
{
"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`
Beitragsleitfaden
Rechercherichtung
Beginne damit, die von `dab init` und `dab start` verwendeten Logging- und Konfigurationspfade nachzuverfolgen, und vergleiche anschließend ihre Ausgabe mit den aufgeführten möglichen Namespaces und der idealen Ausgabe. Als erledigt gilt die Aufgabe, wenn `dab init` sinnvolle Standard-Log-Level festlegt, die das Startgeräusch reduzieren und es Entwicklerinnen und Entwicklern zugleich ermöglichen, sie anschließend zu überschreiben.
Vom Indexierungsmodell aus dem Issue-Text verfasst.
Bewertung
- Tech-Stack
- csharp
- Bereich
- cli, observability
- Issue-Typ
- Feature
- Schwierigkeit
- 3/5
- Geschätzter Aufwand
- 1-2 Tage
- Aktivitätsstatus
- Veraltet
- Klarheit
- Größtenteils klar
- Anfängerfreundlichkeit
- 48/100