Paddle icon indicating copy to clipboard operation
Paddle copied to clipboard

修改get_logger使用的默认name

Open ireson96 opened this issue 1 year ago • 4 comments

PR Category

User Experience

PR Types

Improvements

Description

Change the default name used by logging.getLogger

修改调用logging.getLogger时使用的默认name,参考logging库,使用“root”作为name则相当于所有logger都会生效 会导致引用后上层使用logger重复调用(具体可参考https://github.com/PaddlePaddle/PaddleOCR/issues/13122)

ps

logging库的实现: image image

ireson96 avatar Jun 18 '24 15:06 ireson96

CLA assistant check
Thank you for your submission! We really appreciate it. Like many open source projects, we ask that you sign our Contributor License Agreement before we can accept your contribution.


ireson96 seems not to be a GitHub user. You need a GitHub account to be able to sign the CLA. If you have already a GitHub account, please add the email address used for this commit to your account.
You have signed the CLA already but the status is still pending? Let us recheck it.

CLAassistant avatar Jun 18 '24 15:06 CLAassistant

你的PR提交成功,感谢你对开源项目的贡献! 请关注后续CI自动化测试结果,详情请参考Paddle-CI手册。 Your PR has been submitted. Thanks for your contribution! Please wait for the result of CI firstly. See Paddle CI Manual for details.

paddle-bot[bot] avatar Jun 18 '24 15:06 paddle-bot[bot]

@GreatV 请审核

luotao1 avatar Jun 24 '24 09:06 luotao1

另外 cla 要签一下

GreatV avatar Jun 25 '24 01:06 GreatV

Sorry to inform you that 9e114c3's CIs have passed for more than 7 days. To prevent PR conflicts, you need to re-run all CIs manually.

paddle-ci-bot[bot] avatar Jul 03 '24 03:07 paddle-ci-bot[bot]