graphstorm
graphstorm copied to clipboard
GSConfig should not affect log level setting
GSConfig is a wrapper object for GraphStorm but it includes code that enforces log level at the application level:
https://github.com/awslabs/graphstorm/blob/f0c38bbc2809dbbe2a956a93a31ba216fff13473/python/graphstorm/config/argument.py#L190-L198
The caller program should get to establish the logging level, using logging.basicConfig(level=log_level, force=True) overrides user intent, especially when the GraphStorm API is used.