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

[CT-1799] [Feature] Add --log-level global config #6580

Closed
3 tasks done
MichelleArk opened this issue Jan 11, 2023 · 1 comment
Closed
3 tasks done

[CT-1799] [Feature] Add --log-level global config #6580

MichelleArk opened this issue Jan 11, 2023 · 1 comment
Labels
enhancement New feature or request logging python_api Issues related to dbtRunner Python entry point

Comments

@MichelleArk
Copy link
Contributor

MichelleArk commented Jan 11, 2023

Is this your first time submitting a feature request?

  • I have read the expectations for open source contributors
  • I have searched the existing issues, and I could not find an existing issue for this feature
  • I am requesting a straightforward extension of existing dbt functionality, rather than a Big Idea better suited to a discussion

Describe the feature

Similar to the existing LOG_PATH and LOG_FORMAT global configs, consider adding a LOG_LEVEL config. This would be passed through setup_event_logger to provide a configuration option for the LoggerConfig that specifies logging configuration for both the stdout and file loggers. There may be use cases to configure stdout and file logger levels separately but a single config that controls both feels like a good starting point.

Note: This is a request from dbt-server and would be only be necessary to implement in the new click CLI.

Describe alternatives you've considered

No response

Who will this benefit?

No response

Are you interested in contributing this feature?

No response

Anything else?

No response

@MichelleArk MichelleArk added enhancement New feature or request python_api Issues related to dbtRunner Python entry point logging labels Jan 11, 2023
@github-actions github-actions bot changed the title [Feature] Add --log-level global config [CT-1799] [Feature] Add --log-level global config Jan 11, 2023
@nathaniel-may
Copy link
Contributor

closing in favor of #6639

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request logging python_api Issues related to dbtRunner Python entry point
Projects
None yet
Development

No branches or pull requests

2 participants