前端配置界面
日志所在目录
访问日志存放于logs目录下 ,文件名为:
2021_07_09.127.0.0.1.application.request.log
2021_07_09.127.0.0.1.center.request.log
2021_07_09.127.0.0.1.web.request.log
center 、 application 、web各对应一个日志文件,每天都会生成且只会生成一个,重启服务器不会生成新的,会继续写入在原来的日志文件中。
如启用单端口模式,则只会有一份application.request的log文件。
日志格式
127.0.0.1 - - [2021-07-09 15:20:53.587 +0800] "POST /x_processplatform_assemble_surface/jaxrs/task/count/filter?v=6.1 HTTP/1.1" 200 167 15 "吴恒水@771d346b-d61c-41cb-af12-4a27a2a55e00@P" 127.0.0.1 - - [2021-07-09 15:20:53.580 +0800] "POST /x_processplatform_assemble_surface/jaxrs/task/count/filter?v=6.1 HTTP/1.1" 200 167 25 "吴恒水@771d346b-d61c-41cb-af12-4a27a2a55e00@P" 127.0.0.1 - - [2021-07-09 15:20:53.592 +0800] "POST /x_processplatform_assemble_surface/jaxrs/task/count/filter?v=6.1 HTTP/1.1" 200 167 15 "吴恒水@771d346b-d61c-41cb-af12-4a27a2a55e00@P" 127.0.0.1 - - [2021-07-09 15:20:53.595 +0800] "POST /x_processplatform_assemble_surface/jaxrs/task/count/filter?v=6.1 HTTP/1.1" 200 167 14 "吴恒水@771d346b-d61c-41cb-af12-4a27a2a55e00@P" 127.0.0.1 - - [2021-07-09 15:20:53.588 +0800] "POST /x_processplatform_assemble_surface/jaxrs/task/count/filter?v=6.1 HTTP/1.1" 200 167 30 "吴恒水@771d346b-d61c-41cb-af12-4a27a2a55e00@P" 127.0.0.1 - - [2021-07-09 15:20:53.597 +0800] "POST /x_processplatform_assemble_surface/jaxrs/task/count/filter?v=6.1 HTTP/1.1" 200 167 21 "吴恒水@771d346b-d61c-41cb-af12-4a27a2a55e00@P" 127.0.0.1 - - [2021-07-09 15:21:53.465 +0800] "GET /x_processplatform_assemble_surface/jaxrs/task/list/(0)/next/99999?v=6.1 HTTP/1.1" 304 0 58 "吴恒水@771d346b-d61c-41cb-af12-4a27a2a55e00@P" 127.0.0.1 - - [2021-07-09 15:21:53.541 +0800] "POST /x_organization_assemble_express/jaxrs/person/list HTTP/1.1" 200 232 1 "cipher" 127.0.0.1 - - [2021-07-09 15:21:53.548 +0800] "POST /x_organization_assemble_express/jaxrs/person/list HTTP/1.1" 200 232 1 "cipher" 127.0.0.1 - - [2021-07-09 15:21:53.550 +0800] "POST /x_organization_assemble_express/jaxrs/person/list HTTP/1.1" 200 232 0 "cipher" 127.0.0.1 - - [2021-07-09 15:21:53.550 +0800] "POST /x_organization_assemble_express/jaxrs/person/list HTTP/1.1" 200 232 0 "cipher" 127.0.0.1 - - [2021-07-09 15:21:53.550 +0800] "POST /x_organization_assemble_express/jaxrs/person/list HTTP/1.1" 200 232 0 "cipher"
格式解释:
客户端ip - - 时间 "请求方式 服务路径 http协议" 服务返回状态码 返回内容字节数 响应时间(毫秒) "调用者"
cipher :代表服务器。
若有收获,就点个赞吧