{"action":"created","issue":{"url":"https://api.github.com/repos/openresty/lua-nginx-module/issues/841","repository_url":"https://api.github.com/repos/openresty/lua-nginx-module","labels_url":"https://api.github.com/repos/openresty/lua-nginx-module/issues/841/labels{/name}","comments_url":"https://api.github.com/repos/openresty/lua-nginx-module/issues/841/comments","events_url":"https://api.github.com/repos/openresty/lua-nginx-module/issues/841/events","html_url":"https://github.com/openresty/lua-nginx-module/issues/841","id":172272446,"number":841,"title":"log_by_lua - not called in all requests","user":{"login":"Fr3DBr","id":4699707,"avatar_url":"https://avatars.githubusercontent.com/u/4699707?v=3","gravatar_id":"","url":"https://api.github.com/users/Fr3DBr","html_url":"https://github.com/Fr3DBr","followers_url":"https://api.github.com/users/Fr3DBr/followers","following_url":"https://api.github.com/users/Fr3DBr/following{/other_user}","gists_url":"https://api.github.com/users/Fr3DBr/gists{/gist_id}","starred_url":"https://api.github.com/users/Fr3DBr/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Fr3DBr/subscriptions","organizations_url":"https://api.github.com/users/Fr3DBr/orgs","repos_url":"https://api.github.com/users/Fr3DBr/repos","events_url":"https://api.github.com/users/Fr3DBr/events{/privacy}","received_events_url":"https://api.github.com/users/Fr3DBr/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":2,"created_at":"2016-08-20T14:00:17Z","updated_at":"2016-08-20T14:36:41Z","closed_at":null,"body":"Hi, guys.\r\n\r\nWhen is the log_by_lua method called ?\r\n\r\nOnly after a request is parsed by the upstream server ?\r\n\r\nBecause right now, static file requests served by nginx cache aren't triggering it, and I wanted to know if this is the expected behavior or not, thanks. :)"},"comment":{"url":"https://api.github.com/repos/openresty/lua-nginx-module/issues/comments/241203543","html_url":"https://github.com/openresty/lua-nginx-module/issues/841#issuecomment-241203543","issue_url":"https://api.github.com/repos/openresty/lua-nginx-module/issues/841","id":241203543,"user":{"login":"Fr3DBr","id":4699707,"avatar_url":"https://avatars.githubusercontent.com/u/4699707?v=3","gravatar_id":"","url":"https://api.github.com/users/Fr3DBr","html_url":"https://github.com/Fr3DBr","followers_url":"https://api.github.com/users/Fr3DBr/followers","following_url":"https://api.github.com/users/Fr3DBr/following{/other_user}","gists_url":"https://api.github.com/users/Fr3DBr/gists{/gist_id}","starred_url":"https://api.github.com/users/Fr3DBr/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Fr3DBr/subscriptions","organizations_url":"https://api.github.com/users/Fr3DBr/orgs","repos_url":"https://api.github.com/users/Fr3DBr/repos","events_url":"https://api.github.com/users/Fr3DBr/events{/privacy}","received_events_url":"https://api.github.com/users/Fr3DBr/received_events","type":"User","site_admin":false},"created_at":"2016-08-20T14:36:41Z","updated_at":"2016-08-20T14:36:41Z","body":"I've just added log_by_lua in server section, instead of inside a location and set the number of workers to 2, then any request served by proxy_pass with nginx cache enabled is not triggering it."}}
{"actor":{"display_login":"Fr3DBr"}}