From afa287e24205540c24376a2bbb62d943b77380d8 Mon Sep 17 00:00:00 2001 From: Paul Querna Date: Sun, 21 Dec 2008 22:25:22 +0000 Subject: [PATCH] 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 --- modules/lua/lua_vmprep.c | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) 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(); -- 2.40.0