diff --git a/README.markdown b/README.markdown index e8021a1b66..3bbd773b5c 100644 --- a/README.markdown +++ b/README.markdown @@ -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 `` 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 `` 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: diff --git a/doc/HttpLuaModule.wiki b/doc/HttpLuaModule.wiki index a291611ce7..f2a7b80e9b 100644 --- a/doc/HttpLuaModule.wiki +++ b/doc/HttpLuaModule.wiki @@ -1757,7 +1757,7 @@ This directive was first introduced in the v0.5.0rc32 release. '''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 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 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: