lattimore-liou / fastdfs

Automatically exported from code.google.com/p/fastdfs
GNU General Public License v3.0
0 stars 0 forks source link

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

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
服务器能够正常使用,但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 dlchenjinping@gmail.com on 30 Dec 2013 at 4:04

GoogleCodeExporter commented 9 years ago
修改配置文件的配置项 log_level!

Original comment by happyfis...@gmail.com on 2 Jan 2014 at 8:56