graphstorm icon indicating copy to clipboard operation
graphstorm copied to clipboard

GSConfig should not affect log level setting

Open thvasilo opened this issue 5 months ago • 0 comments

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.

thvasilo avatar Aug 11 '25 23:08 thvasilo