Skip to content

Commit

Permalink
Merge branch 'main' into cookiecutter_bugfixes
Browse files Browse the repository at this point in the history
  • Loading branch information
edgarrmondragon authored Jan 4, 2023
2 parents ff688c6 + 2773841 commit a0abdbd
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
2 changes: 1 addition & 1 deletion docs/CONTRIBUTING.md
Original file line number Diff line number Diff line change
Expand Up @@ -175,7 +175,7 @@ This repo uses the [semantic-prs](https://github.com/Ezard/semantic-prs) GitHub

Pull requests should be named according to the conventional commit syntax to streamline changelog and release notes management. We encourage (but do not require) the use of conventional commits in commit messages as well.

In general, PR titles should follow the format "<type>: <desc>", where type is any one of these:
In general, PR titles should follow the format `<type>: <desc>`, where type is any one of these:

- `ci`
- `chore`
Expand Down
3 changes: 2 additions & 1 deletion singer_sdk/plugin_base.py
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,8 @@ def logger(cls) -> logging.Logger:
Plugin logger.
"""
# Get the level from <PLUGIN_NAME>_LOGLEVEL or LOGLEVEL environment variables
LOGLEVEL = os.environ.get(f"{cls.name.upper()}_LOGLEVEL") or os.environ.get(
plugin_env_prefix = f"{cls.name.upper().replace('-', '_')}_"
LOGLEVEL = os.environ.get(f"{plugin_env_prefix}LOGLEVEL") or os.environ.get(
"LOGLEVEL"
)

Expand Down

0 comments on commit a0abdbd

Please sign in to comment.