what's the limit of the size of log file, and what will happen when it reaches the limitation? if I want to split the log file by timeline, say start a new file on the beginning of an hour, how can I configure ngnix? thanksby shawnxzhou - Nginx Mailing List - English
Followups, I used echo_read_request_body; and the empty_gif directive seems not work again, they shoud be exclusive in a location? John Watson Wrote: ------------------------------------------------------- > Hi, > > Trying adding this directive to your location: > echo_read_request_body; > > It needs this 3rd party module though: > http://wiki.nginx.org/HttpEby shawnxzhou - Nginx Mailing List - English
yes, it works! thanks a lotby shawnxzhou - Nginx Mailing List - English
I'm trying to use $request_body but get '-' in my log file for this field here is my configure file, is there sth wrong or the $request_body has other deps to work? http { log_format client '$remote_addr - $remote_user $request_time $upstream_response_time ' '[$time_local] "$request" $status $body_bytes_sent $request_body "$http_referer" 'by shawnxzhou - Nginx Mailing List - English