https://www.imooc.com/article/30941
1、接口性能信息收集
2、Api时间开销定位 与分析
3、Api上下游性能 优化
4、Api服务性能稳定性SLA
xhprof 收集Api接口开销
grep 'log_format' ./ -r 查找 log_format 这个目录
定义了一个文件格式 为main
在nginx 单个目录中 server access_log /home/work/logs/logs.log main ;
这样就使用了main 这个格式错误日志信息。
tail -f logs.log 查看日志信息
//不显示行号了
set nonumber