Azure / Azure/data-api-builder

[Improvement]: Enable logging based on the appsettings file

Open
#1,815 1 comment 1 reaction 0 assignees View on GitHub
enhancement
Dominant language
C#
Stars
1.5k
Forks
370
Avg merge
3d 17h
Merged PRs (30d)
8

Description

### 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

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.