Azure / Azure/data-api-builder
[Improvement]: Enable logging based on the appsettings file
- 主要语言
- C#
- 星标
- 1.5k
- 派生
- 370
- 平均合并
- 3 天 22 小时
- 30 天内合并 PR
- 9
描述
### What happened?
At this point only Application Insights
https://github.com/Azure/data-api-builder/blob/a0b64c0196c9f8ec722bafdb0d1e4c9bc8a1a016/src/Service/Program.cs#L131
and Console
https://github.com/Azure/data-api-builder/blob/a0b64c0196c9f8ec722bafdb0d1e4c9bc8a1a016/src/Service/Program.cs#L144
can be configured as the logger output.
As a user I would like to use the appsettings.json configuration to support other ways of preserving the log entries and their log levels.
### Version
0.8.52
### What database are you using?
Azure SQL
### What hosting model are you using?
Local (including CLI)
### Which API approach are you accessing DAB through?
REST
### Relevant log output
_No response_
### Code of Conduct
- [X] I agree to follow this project's Code of Conduct
贡献指南
调研方向
先从 src/Service/Program.cs 中链接的 Application Insights 和 Console 配置点开始检查日志记录设置,然后检查 appsettings.json 的加载方式。明确需要哪些额外的日志输出和日志级别设置;完成的标准是,可以通过 appsettings.json 配置这些已达成一致的选项,而不只是使用当前支持的输出。
由索引模型根据 Issue 内容生成。
评估
- 技术栈
- csharp
- 领域
- observability
- Issue 类型
- 功能
- 难度
- 4/5
- 预计耗时
- 3-5 天
- 活跃度
- 停滞
- 描述清晰度
- 需要澄清
- 新手友好度
- 25/100