Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Http logging #251

Merged
merged 11 commits into from
May 21, 2015
Merged

Http logging #251

merged 11 commits into from
May 21, 2015

Conversation

shashiranjan84
Copy link
Contributor

No description provided.

@coveralls
Copy link

Coverage Status

Changes Unknown when pulling af31b0e on http-logging into * on master*.

end

function _M.execute(conf)
local ok, err = ngx.timer.at(0, log, conf, ngx.ctx.log_message)
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

What is the benefit of putting this into a timer?

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@thibaultcha you don't have access to the cosocket API into the log_by_lua handler, that's why a timer is needed.

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Ok

thibaultcha added a commit that referenced this pull request May 21, 2015
@thibaultcha thibaultcha merged commit e9dcaf3 into master May 21, 2015
@thibaultcha thibaultcha deleted the http-logging branch May 21, 2015 22:33
@thibaultcha
Copy link
Member

👍

@sonicaghi
Copy link
Member

🎉

@shashiranjan84
Copy link
Contributor Author

Yay

thibaultcha added a commit that referenced this pull request May 22, 2015
@subnetmarco
Copy link
Member

Without squashing?

ctranxuan pushed a commit to streamdataio/kong that referenced this pull request Aug 25, 2015
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants