Skip to content

[MetaSchedule] Allow Easy Logging Level Setting#11305

Merged
junrushao merged 2 commits intoapache:mainfrom
zxybazh:bugfix/2022-05-12/easy-set-logging-level
May 14, 2022
Merged

[MetaSchedule] Allow Easy Logging Level Setting#11305
junrushao merged 2 commits intoapache:mainfrom
zxybazh:bugfix/2022-05-12/easy-set-logging-level

Conversation

@zxybazh
Copy link
Member

@zxybazh zxybazh commented May 13, 2022

This PR allowed users to set logging level without giving a logger config. Previous implementation hard-coded logging.INFO as the default logging level and requires a logger config to change it. Now the logging level and handlers can be inherited from the current tvm.meta_schedule logger setting.

CC: @junrushao1994 @michalpiszczek

@michalpiszczek
Copy link
Contributor

michalpiszczek commented May 13, 2022

LGTM! Thank you for this change @zxybazh

@junrushao junrushao merged commit 325f6fe into apache:main May 14, 2022
mehrdadh pushed a commit to mehrdadh/tvm that referenced this pull request May 16, 2022
This PR allowed users to set logging level without giving a logger config. Previous implementation hard-coded `logging.INFO` as the default logging level and requires a logger config to change it. Now the logging level and handlers can be inherited from the current `tvm.meta_schedule` logger setting.
shtinsa pushed a commit to Deelvin/tvm that referenced this pull request May 17, 2022
This PR allowed users to set logging level without giving a logger config. Previous implementation hard-coded `logging.INFO` as the default logging level and requires a logger config to change it. Now the logging level and handlers can be inherited from the current `tvm.meta_schedule` logger setting.
shingjan pushed a commit to shingjan/tvm that referenced this pull request May 17, 2022
This PR allowed users to set logging level without giving a logger config. Previous implementation hard-coded `logging.INFO` as the default logging level and requires a logger config to change it. Now the logging level and handlers can be inherited from the current `tvm.meta_schedule` logger setting.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants