Skip to content

Commit fc33ccf

Browse files
Michael BrewerJoris Conijn
Michael Brewer
and
Joris Conijn
authored
Does the same and removes that if/else logic
Co-authored-by: Joris Conijn <[email protected]>
1 parent 4c82aad commit fc33ccf

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

aws_lambda_powertools/logging/logger.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -290,7 +290,6 @@ def _get_log_level(level: Union[str, int]) -> Union[str, int]:
290290
if isinstance(level, int):
291291
return level
292292

293-
log_level: str = level or os.getenv("LOG_LEVEL")
294293
log_level: str = level or os.getenv("LOG_LEVEL", logging.INFO)
295294

296295
return log_level.upper()

0 commit comments

Comments
 (0)