When I use ngx.log write a string such as {"cmd":"status_reply"} to error_log, the record line in log file is as below:
2018/09/22 10:29:07 [info] 25383#25383: *1 stream [lua] tcp_server.lua:190: send_msg_to_terminal(): {"cmd":"status_reply"}, client: 183.62.243.154, server: 0.0.0.0:3000
Can I record client port in log file?
------------------
此致
祝好
刘丹
邮件:1392...@qq.com
手机:13925006500