We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
你好~我想要在程序运行的时候开头不要输出以下这个,但是我看了文档尝试设定log level=None还是一样变成预设的INFO设成其他的像是WARN,LEVEL会变成WARN但是都还是一样会进行输出,请问我该哪里设置
[INFO 2024-02-04 10:49:58,461 set_logger:99] -------------------- logging start -------------------- [INFO 2024-02-04 10:49:58,461 set_logger:100] LEVEL: INFO [INFO 2024-02-04 10:49:58,461 set_logger:102] PATH: C:\Users\odinc.jionlp_logs [INFO 2024-02-04 10:49:58,461 set_logger:103] -------------------------------------------------------
https://github.com/dongrixinyu/JioNLP
http://www.jionlp.com/jionlp_online/cws_pos
[INFO 2024-02-04 10:49:58,473 set_logger:92] -------------------- logging start -------------------- [INFO 2024-02-04 10:49:58,473 set_logger:93] LEVEL: INFO [INFO 2024-02-04 10:49:58,473 set_logger:95] PATH: C:\Users\odinc.jiojio/jiojio_logs [INFO 2024-02-04 10:49:58,473 set_logger:96] -------------------------------------------------------
The text was updated successfully, but these errors were encountered:
你可以试试把 __init__.py 文件里的 set_logger 函数去掉,换成默认的 import logging
__init__.py
Sorry, something went wrong.
请教一下可以在Python程序内设定吗?因为我这环境有部署到很多台电脑,都跑到个电脑下面去改包内的 init.py 有点累
No branches or pull requests
你好~我想要在程序运行的时候开头不要输出以下这个,但是我看了文档尝试设定log level=None还是一样变成预设的INFO设成其他的像是WARN,LEVEL会变成WARN但是都还是一样会进行输出,请问我该哪里设置
[INFO 2024-02-04 10:49:58,461 set_logger:99] -------------------- logging start --------------------
[INFO 2024-02-04 10:49:58,461 set_logger:100] LEVEL: INFO
[INFO 2024-02-04 10:49:58,461 set_logger:102] PATH: C:\Users\odinc.jionlp_logs
[INFO 2024-02-04 10:49:58,461 set_logger:103] -------------------------------------------------------
jionlp - 微信公众号: JioNLP Github:
https://github.com/dongrixinyu/JioNLP
.jiojio -
http://www.jionlp.com/jionlp_online/cws_pos
is available for online trial.[INFO 2024-02-04 10:49:58,473 set_logger:92] -------------------- logging start --------------------
[INFO 2024-02-04 10:49:58,473 set_logger:93] LEVEL: INFO
[INFO 2024-02-04 10:49:58,473 set_logger:95] PATH: C:\Users\odinc.jiojio/jiojio_logs
[INFO 2024-02-04 10:49:58,473 set_logger:96] -------------------------------------------------------
The text was updated successfully, but these errors were encountered: