Skip to content

doc: fix log_by_lua, runs before nginx access log and after #667

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

Merged
merged 1 commit into from
Feb 3, 2016
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion README.markdown
Original file line number Diff line number Diff line change
Expand Up @@ -2115,7 +2115,7 @@ log_by_lua
**WARNING** Since the `v0.9.17` release, use of this directive is *discouraged*;
use the new [log_by_lua_block](#log_by_lua_block) directive instead.

Runs the Lua source code inlined as the `<lua-script-str>` at the `log` request processing phase. This does not replace the current access logs, but runs after.
Runs the Lua source code inlined as the `<lua-script-str>` at the `log` request processing phase. This does not replace the current access logs, but runs before.

Note that the following API functions are currently disabled within this context:

Expand Down
2 changes: 1 addition & 1 deletion doc/HttpLuaModule.wiki
Original file line number Diff line number Diff line change
Expand Up @@ -1757,7 +1757,7 @@ This directive was first introduced in the <code>v0.5.0rc32</code> release.
'''WARNING''' Since the <code>v0.9.17</code> release, use of this directive is ''discouraged'';
use the new [[#log_by_lua_block|log_by_lua_block]] directive instead.

Runs the Lua source code inlined as the <code><lua-script-str></code> at the <code>log</code> request processing phase. This does not replace the current access logs, but runs after.
Runs the Lua source code inlined as the <code><lua-script-str></code> at the <code>log</code> request processing phase. This does not replace the current access logs, but runs before.

Note that the following API functions are currently disabled within this context:

Expand Down