Giving $sent_http_set_cookie in log_format logs only the first cookie that is set by Set-Cookie. Is there a way to log all the cookies that are sent using Set-Cookie.
This is the exact snippet in my nginx config
log_format main '$remote_addr [$time_local] '
'"$scheme $host $request" $status $body_bytes_sent "$http_referer" '
'"$http_user_agent" "$http_x_forwarded_for" '
'($request_time)'
'(($sent_http_set_cookie))';
This is the exact snippet in my nginx config
log_format main '$remote_addr [$time_local] '
'"$scheme $host $request" $status $body_bytes_sent "$http_referer" '
'"$http_user_agent" "$http_x_forwarded_for" '
'($request_time)'
'(($sent_http_set_cookie))';