Azure / data-api-builder

Data API builder provides modern REST and GraphQL endpoints to your Azure Databases and on-prem stores.
https://aka.ms/dab/docs
MIT License
914 stars 187 forks source link

Add support for sending logs to a text file #1818

Closed Aniruddh25 closed 4 weeks ago

Aniruddh25 commented 1 year ago

Discussed in https://github.com/Azure/data-api-builder/discussions/1812

Originally posted by **meareal** October 13, 2023 In `development` mode, we get logs in the console. Ideally we would be able to log every request and response to a text file we specify in dab-config.json file. In the past, I have added a middleware component to our custom Web APIs to log every request and every response in the `InvokeAsync` method.
JerryNixon commented 4 weeks ago

Reference #2371