Skip to content

Commit

Permalink
The log_level could be in lower case, transform it to upper first. (#169
Browse files Browse the repository at this point in the history
)

Signed-off-by: Tao He <[email protected]>
  • Loading branch information
sighingnow authored Mar 1, 2021
1 parent 5b5061d commit 10f36b1
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions coordinator/gscoordinator/coordinator.py
Original file line number Diff line number Diff line change
Expand Up @@ -165,6 +165,8 @@ def _config_logging(self, log_level):
Args:
log_level (str): Log level of stdout handler
"""
if log_level:
log_level = log_level.upper()
logger = logging.getLogger("graphscope")
logger.setLevel(logging.DEBUG)

Expand Down

0 comments on commit 10f36b1

Please sign in to comment.