Hello,
my first RFC, in life, so be patient. When I run command find python -type f -name "*.py" | xargs grep getLogger
I can see, that names of Loggers are manually provided, e.g. Ethos-U
, RPCTracker
or auto_scheduler
. As I can read in python logging tutorial better name is __name__
variable. It doesn’t require maintain names and is more generic to use filters, then example logger names would be tvm.relay.backend.contrib.ethosu.vela_api
, tvm.rpc.tracker
and tvm.auto_scheduler.search_task
respectively.
I think it is easy to implement, and doesn’t introduce functionality changes. Places to check when configure logging, because many names will change.