Skip to content

Commit

Permalink
cmip26: fix logging config
Browse files Browse the repository at this point in the history
  • Loading branch information
raehik committed Mar 16, 2023
1 parent 049d69f commit f9979f3
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions cmip26.py
Original file line number Diff line number Diff line change
Expand Up @@ -28,8 +28,7 @@
# logging config
logging_level = os.environ.get('LOGGING_LEVEL')
if logging_level is not None:
logging_level = getattr(logging, logging_level)
logging.basicConfig(level=logging_level)
logging.basicConfig(level=int(logging_level))
logger = logging.getLogger(__name__)


Expand Down

0 comments on commit f9979f3

Please sign in to comment.