download logging not captured in access.log

wld75 nginx-forum at forum.nginx.org
Thu Oct 18 12:12:00 UTC 2018


Hello, 

Thanks for your support. 

I have verified the nginx.conf and found no abnormality in logging section:
please see below from the nginx.conf. 
i can see all requests for upload requests only in the access.log, but
download request not appeared. 


        ##
        # Logging Settings
        ##

         log_format  main  '$remote_addr - $remote_user [$time_local]
"$request" '
                                      '$status $body_bytes_sent
"$http_referer" ' 
                                       'bytes_send="$bytes_sent"
content_length="$content_length" content_type="$content_type" 
                                       request_body="$request_body" ' 
                                       'rt=$request_time
uct="$upstream_connect_time"  server_addr="$server_addr" 
request_url="$request_uri" 
                                       uht="$upstream_header_time"  urt="
$upstream_response_time" rqlength="$request_length"'
   
        access_log /var/log/nginx/access.log main;
        error_log /var/log/nginx/error.log;

Posted at Nginx Forum: https://forum.nginx.org/read.php?2,281572,281631#msg-281631



More information about the nginx mailing list