Azure / Azure/data-api-builder
[Enh]: Let's consider some default `log-level` values in `dab init`.
- 主要言語
- C#
- スター
- 1.5k
- フォーク
- 370
- 平均マージ
- 3日 22時間
- マージ済み PR(30日)
- 9
説明
## 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`
コントリビューションガイド
調査の方向性
まず、`dab init` と `dab start` で使用されるロギングと設定の経路を追跡し、その後、それらの出力を、列挙されている候補 namespace および理想的な出力と比較します。`dab init` が、起動時のノイズを減らしつつ、開発者が後から上書きできる、妥当なデフォルトのログレベルを提供すれば完了です。
索引モデルが issue の本文から書いたものです。
評価
- 技術スタック
- csharp
- 領域
- cli, observability
- issue の種類
- 機能追加
- 難易度
- 3/5
- 見積もり時間
- 1〜2日
- 活発さ
- 停滞
- 明瞭さ
- おおむね明確
- 初心者へのやさしさ
- 48/100