我正在尝试诊断问题。有人知道 Bluemix 中 RTR 日志消息的格式是什么吗?
例如:
somehost.mybluemix.net - [02/03/2017:16:00:23.428 +0000]“GET/HTTP/1.1”200 0 306“-”“-”44.44.44.44:4444 x_forwarded_for: “55.5.55.55”x_forwarded_proto:“http”vcap_request_id:abc-123 response_time:0.005884674 app_id:abc-123 x_global_transaction_id:“55555555”
最佳答案
从 v217 开始,格式为:
<hostname> - [<time>] "<verb> <path> <http_spec>" <status> <request_bytes_received> <body_bytes_sent> <referer> <http_user_agent> x_forwarded_for:<x_forwarded_for> x_forwarded_proto:<x_forwarded_proto> vcap_request_id:<vcap_request_id> response_time:<response_time> app_id:<app_id>
关于logging - 路由器 (RTR) 日志的消息格式?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/42562044/