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

trackerd.log 中很多没用的信息,怎么才能让他不写 #57

Open
GoogleCodeExporter opened this issue Nov 2, 2015 · 1 comment

Comments

@GoogleCodeExporter
Copy link

服务器能够正常使用,但trackerd.log 
中有很多没用的信息,如下
[2013-12-30 11:03:08] INFO - file: tracker_relationship.c, line: 374, selecting 
leader...
[2013-12-30 11:03:13] INFO - file: tracker_relationship.c, line: 374, selecting 
leader...
[2013-12-30 11:03:16] INFO - file: tracker_relationship.c, line: 374, selecting 
leader...
[2013-12-30 11:03:17] INFO - file: tracker_relationship.c, line: 374, selecting 
leader...
...
打开debug模式,每条INFO下都有如下信息
[2013-12-30 11:28:14] INFO - file: tracker_relationship.c, line: 374, selecting 
leader...
[2013-12-30 11:28:14] DEBUG - file: tracker_relationship.c, line: 218, 
X.X.X.X:22122 if_leader: 0, running time: 0, restart interval: 0
[2013-12-30 11:28:14] DEBUG - file: tracker_nio.c, line: 268, client ip: 
X.X.X.X, recv failed, connection disconnected.
[2013-12-30 11:28:14] DEBUG - file: tracker_relationship.c, line: 420, waiting 
for leader notify

这样的Info信息大量输出,导致log文件多了很多没用的信息,�
��看有用的信息反而变得非常麻烦。
请哪位能够给些指点,能够去掉这些没用的info信息

Original issue reported on code.google.com by [email protected] on 30 Dec 2013 at 4:04

@GoogleCodeExporter
Copy link
Author

修改配置文件的配置项 log_level!

Original comment by [email protected] on 2 Jan 2014 at 8:56

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant