diff options
author | Rainer Jung <rjung@apache.org> | 2016-01-19 16:43:17 +0100 |
---|---|---|
committer | Rainer Jung <rjung@apache.org> | 2016-01-19 16:43:17 +0100 |
commit | 0eddea67acc5a43e432882f5b49b82d6b1cfd71f (patch) | |
tree | 37a8cf4c97402bd6de55f095dab15786764510ec /modules | |
parent | Start impl of expr conditions for runtime checks (diff) | |
download | apache2-0eddea67acc5a43e432882f5b49b82d6b1cfd71f.tar.xz apache2-0eddea67acc5a43e432882f5b49b82d6b1cfd71f.zip |
Added some more log numbers to log statements that
had none.
Those were not detected by the coccinelle script.
Only a few hard cases are remaining now.
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1725548 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'modules')
-rw-r--r-- | modules/examples/mod_example_hooks.c | 3 | ||||
-rw-r--r-- | modules/lua/lua_config.c | 1 | ||||
-rw-r--r-- | modules/lua/lua_request.c | 1 | ||||
-rw-r--r-- | modules/ssl/ssl_ct_util.c | 2 |
4 files changed, 6 insertions, 1 deletions
diff --git a/modules/examples/mod_example_hooks.c b/modules/examples/mod_example_hooks.c index d818dc1f73..da00b8c700 100644 --- a/modules/examples/mod_example_hooks.c +++ b/modules/examples/mod_example_hooks.c @@ -492,7 +492,8 @@ static void trace_nocontext(apr_pool_t *p, const char *file, int line, */ #ifdef EXAMPLE_LOG_EACH - ap_log_perror(file, line, APLOG_MODULE_INDEX, APLOG_NOTICE, 0, p, "%s", note); + ap_log_perror(file, line, APLOG_MODULE_INDEX, APLOG_NOTICE, 0, p, + APLOGNO(03297) "%s", note); #endif } diff --git a/modules/lua/lua_config.c b/modules/lua/lua_config.c index 3b307ebc0e..bc09bdcffb 100644 --- a/modules/lua/lua_config.c +++ b/modules/lua/lua_config.c @@ -166,6 +166,7 @@ static int cmd_log_at(lua_State *L, int level) lua_getinfo(L, "Sl", &dbg); msg = luaL_checkstring(L, 2); + /* Intentional no APLOGNO */ ap_log_error(dbg.source, dbg.currentline, APLOG_MODULE_INDEX, level, 0, cmd->server, "%s", msg); return 0; diff --git a/modules/lua/lua_request.c b/modules/lua/lua_request.c index 2364791deb..cb26e0549f 100644 --- a/modules/lua/lua_request.c +++ b/modules/lua/lua_request.c @@ -1894,6 +1894,7 @@ static int req_log_at(lua_State *L, int level) lua_getinfo(L, "Sl", &dbg); msg = luaL_checkstring(L, 2); + /* Intentional no APLOGNO */ ap_log_rerror(dbg.source, dbg.currentline, APLOG_MODULE_INDEX, level, 0, r, "%s", msg); return 0; diff --git a/modules/ssl/ssl_ct_util.c b/modules/ssl/ssl_ct_util.c index e84e980fe7..4114bf6d1f 100644 --- a/modules/ssl/ssl_ct_util.c +++ b/modules/ssl/ssl_ct_util.c @@ -467,9 +467,11 @@ void ctutil_log_array(const char *file, int line, int module_index, const char **elts = (const char **)arr->elts; int i; + /* Intentional no APLOGNO */ ap_log_error(file, line, module_index, level, 0, s, "%s", desc); for (i = 0; i < arr->nelts; i++) { + /* Intentional no APLOGNO */ ap_log_error(file, line, module_index, level, 0, s, ">>%s", elts[i]); } |