Skip to content

Commit da30ad6

Browse files
committed
Merge pull request #667 from bjoe2k4/master
doc: fix log_by_lua, runs before nginx access log and after
2 parents 3bb11aa + c16e1e4 commit da30ad6

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

README.markdown

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2115,7 +2115,7 @@ log_by_lua
21152115
**WARNING** Since the `v0.9.17` release, use of this directive is *discouraged*;
21162116
use the new [log_by_lua_block](#log_by_lua_block) directive instead.
21172117

2118-
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.
2118+
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.
21192119

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

doc/HttpLuaModule.wiki

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1757,7 +1757,7 @@ This directive was first introduced in the <code>v0.5.0rc32</code> release.
17571757
'''WARNING''' Since the <code>v0.9.17</code> release, use of this directive is ''discouraged'';
17581758
use the new [[#log_by_lua_block|log_by_lua_block]] directive instead.
17591759
1760-
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.
1760+
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.
17611761
17621762
Note that the following API functions are currently disabled within this context:
17631763

0 commit comments

Comments
 (0)