Skip to content
New issue

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

newclient.py的log问题 #14

Open
NonArrendertiMai opened this issue Dec 12, 2018 · 2 comments
Open

newclient.py的log问题 #14

NonArrendertiMai opened this issue Dec 12, 2018 · 2 comments

Comments

@NonArrendertiMai
Copy link

newclient.py文件运行中会产生巨大的log文件,在PC端运行还能接受,但是在路由器就有点难受了。我现在是在脚本最前面添加删除log文件的部分,但是脚本运行中会不停写入log,每次删除log就必须重启路由,所以可否去除生成log的部分(或在code中做成可选项?)。我主要写C的python很少用没有能力完成这部分,所以提下建议。

@zhjc1124
Copy link

将第66行的IS_TEST = True改成IS_TEST = False即可

@NonArrendertiMai
Copy link
Author

非常感谢,同时补充一下,IS_TEST = True改成IS_TEST = False后需要把第371行注释掉,不然会报错。

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

No branches or pull requests

2 participants