跳至内容
菜单
此问题已终结
1 回复
56866 查看

I understand we can change the log level in config file but could someone explain what we will expect for each level set?

#logging. Accepted values: info, debug_rpc, warn, test, critical, debug_sql, error, debug, debug_rpc_answer, notset

#default

log_level = info

 

 

形象
丢弃
最佳答案

--log-level option is deprecated option. Use --log-handler=PREFIX:LEVEL for log verbosity. Usually log level info is not enough. If you debugging something set log-handler to :DEBUG, to debug (everything), usually add more helpfull log. But of course you don't want this info in productioin mode.

For example if you want to see log from test you can run the server with the following argument.

--log_level=:TEST --update=all --dabase=your_database

形象
丢弃
相关帖文 回复 查看 活动
0
2月 18
3912
2
7月 16
7543
0
3月 15
4728
0
3月 15
3669
1
8月 22
3543