You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@tvm.apache.org by GitBox <gi...@apache.org> on 2022/04/22 09:13:08 UTC

[GitHub] [tvm] pfk-beta commented on a diff in pull request #11089: change hardcoded names of loggers to `__name__`

pfk-beta commented on code in PR #11089:
URL: https://github.com/apache/tvm/pull/11089#discussion_r855961554


##########
docs/arch/relay_op_strategy.rst:
##########
@@ -278,5 +278,5 @@ model to learn which implementation is used for each operator.
 
 .. code:: python
 
-    logging.getLogger("te_compiler").setLevel(logging.INFO)
-    logging.getLogger("te_compiler").addHandler(logging.StreamHandler(sys.stdout))
+    logging.getLogger("tvm.relay.backend.te_compiler").setLevel(logging.INFO)

Review Comment:
   Me too, I think it is example script in which user is configuring logging, so I just updated old logger name to new one.



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscribe@tvm.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org