Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Have log-level property in runtime config #1645

Open
abhishekkumams opened this issue Aug 23, 2023 · 3 comments
Open

Have log-level property in runtime config #1645

abhishekkumams opened this issue Aug 23, 2023 · 3 comments
Assignees
Labels
enhancement New feature or request hacktoberfest
Milestone

Comments

@abhishekkumams
Copy link
Contributor

abhishekkumams commented Aug 23, 2023

This Issue is to propose a new property called log-level under the runtime section of dab config file to specify the minimum logging level in our Application. for example if it is set to Information, trace and debug logs won't be displayed while warning and errors along with Information Logs will show up.
Having LogLevel specified in the config file enable users to specify the logLevel when CLI is not envolved(where we can use --LogLevel).

{
  "runtime": {
    ...
    "log-level": "Information",
    ...
}

This logLevel will be used for logging in the console as well as sending logs to Applicaiton Insights.

@abhishekkumams abhishekkumams added the enhancement New feature or request label Aug 23, 2023
@Aniruddh25 Aniruddh25 changed the title Have LogLevel property in runtime config Have log-level property in runtime config Aug 24, 2023
@abhishekkumams abhishekkumams added this to the 0.10rc milestone Sep 11, 2023
@Aniruddh25 Aniruddh25 modified the milestones: 0.10rc, 0.11rc Oct 2, 2023
@Aniruddh25 Aniruddh25 removed their assignment Oct 2, 2023
@seantleonard
Copy link
Contributor

#1829

@seantleonard
Copy link
Contributor

Moving this + hot reload related tasks to post GA -> tracking via 1.2rc milestone.

@seantleonard
Copy link
Contributor

Lower priority because you can set log level via argument to dab.exe process

$ ./Microsoft.DataApiBuilder --LogLevel Information

@seantleonard seantleonard modified the milestones: 1.2rc, Feature Backlog May 17, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request hacktoberfest
Projects
None yet
Development

No branches or pull requests

5 participants