From: Paul Querna Date: Sun, 21 Dec 2008 22:25:22 +0000 (+0000) Subject: Remove some extra logging, and make it more debug instead of warning. X-Git-Tag: 2.3.1~85 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=afa287e24205540c24376a2bbb62d943b77380d8;p=apache Remove some extra logging, and make it more debug instead of warning. git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@728535 13f79535-47bb-0310-9956-ffa450edef68 --- diff --git a/modules/lua/lua_vmprep.c b/modules/lua/lua_vmprep.c index 1623590cb7..e3cf24240f 100644 --- a/modules/lua/lua_vmprep.c +++ b/modules/lua/lua_vmprep.c @@ -265,10 +265,9 @@ lua_State *apl_get_lua_state(apr_pool_t *lifecycle_pool, { lua_State *L; - ap_log_perror(APLOG_MARK, APLOG_WARNING, 0, lifecycle_pool, - "obtaining lua_State"); + if (!apr_pool_userdata_get((void **) &L, spec->file, lifecycle_pool)) { - ap_log_perror(APLOG_MARK, APLOG_WARNING, 0, lifecycle_pool, + ap_log_perror(APLOG_MARK, APLOG_DEBUG, 0, lifecycle_pool, "creating lua_State with file %s", spec->file); /* not available, so create */ L = luaL_newstate();