httpd-cvs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From cove...@apache.org
Subject svn commit: r1519329 - /httpd/httpd/trunk/modules/lua/mod_lua.c
Date Mon, 02 Sep 2013 01:21:39 GMT
Author: covener
Date: Mon Sep  2 01:21:39 2013
New Revision: 1519329

URL: http://svn.apache.org/r1519329
Log:
trace4 logging of return codes from LuaHook* functions.


Modified:
    httpd/httpd/trunk/modules/lua/mod_lua.c

Modified: httpd/httpd/trunk/modules/lua/mod_lua.c
URL: http://svn.apache.org/viewvc/httpd/httpd/trunk/modules/lua/mod_lua.c?rev=1519329&r1=1519328&r2=1519329&view=diff
==============================================================================
--- httpd/httpd/trunk/modules/lua/mod_lua.c (original)
+++ httpd/httpd/trunk/modules/lua/mod_lua.c Mon Sep  2 01:21:39 2013
@@ -661,6 +661,8 @@ static int lua_request_rec_hook_harness(
             rc = DECLINED;
             if (lua_isnumber(L, -1)) {
                 rc = lua_tointeger(L, -1);
+                ap_log_rerror(APLOG_MARK, APLOG_TRACE4, 0, r, "Lua hook %s:%s for phase %s
returned %d", 
+                              hook_spec->file_name, hook_spec->function_name, name,
rc);
             }
             if (rc != DECLINED) {
                 ap_lua_release_state(L, spec, r);



Mime
View raw message