日志打印的问题

麻烦咨询个问题,为什么把 --v=4 设置上,INFO 日志 里面一直没有打印 VLOG 级别的日志。

–log_dir=logs

Log level, 0, 1, 2, 3 for INFO, WARNING, ERROR, FATAL respectively

–minloglevel=0

Verbose log level, 1, 2, 3, 4, the higher of the level, the more verbose of the logging

–v=4

$ tail -f /usr/local/nebula/logs/nebula-graphd.INFO
I0626 13:25:42.906888 38783 StatsManager.cpp:94] registerHisto, bucketSize: 1000, min: 1, max: 1000000
I0626 13:25:42.907909 38783 UseExecutor.cpp:48] Graph space switched to `huge_follow’, space id: 134
I0626 13:25:46.151901 38783 StatsManager.cpp:94] registerHisto, bucketSize: 1000, min: 1, max: 1000000
I0626 13:25:46.159529 38783 StatsManager.cpp:94] registerHisto, bucketSize: 1000, min: 1, max: 1000000
I0626 13:25:46.165277 38783 MetaClient.cpp:2246] Load leader ok
I0626 13:25:50.387727 38783 GoExecutor.cpp:548] Step:1 finished, total request vertices 1
I0626 13:25:50.387765 38783 GoExecutor.cpp:552] [xxx.xxx.xxx.xxx:44500], time cost 1235261us / 4221891us, total results 1

日志里面只有INFO的日志。VLOG的日志 在那个文件啊?

改完之后重启过吧?

重启过的。

找到原因了,有一个 local_config的option。需要设置上

哦哦 , 对对, 厉害!!!

浙ICP备20010487号