Permalink
Browse files

Change log to connection

  • Loading branch information...
1 parent ab36d98 commit 94f4fbb72dfaa829d7b7e83ffef012d515422ac0 Marcus Clyne committed Oct 14, 2010
Showing with 7 additions and 7 deletions.
  1. +5 −5 config
  2. +2 −2 src/ndk_set_var.c
View
10 config
@@ -35,12 +35,12 @@ $autobuild `pwd` $NGX_OBJS/addon/ndk || exit 1
echo "applying Nginx Development Kit source patches ..."
-patch -Np1 < $ngx_addon_dir/patches/auto_config
-patch -Np1 < $ngx_addon_dir/patches/expose_rewrite_functions
+#patch -Np1 < $ngx_addon_dir/patches/auto_config
+#patch -Np1 < $ngx_addon_dir/patches/expose_rewrite_functions
-if [ $NGINX_VERSION -ge 8042 ]; then
- patch -Np1 < $ngx_addon_dir/patches/rewrite_phase_handler
-fi
+#if [ $NGINX_VERSION -ge 8042 ]; then
+# patch -Np1 < $ngx_addon_dir/patches/rewrite_phase_handler
+#fi
#####################
## CONFIG SETTINGS ##
View
@@ -56,7 +56,7 @@ ndk_set_var_code_finalize (ngx_http_script_engine_t *e, ngx_int_t rc,
v->no_cacheable = 0;
v->not_found = 0;
- ngx_log_debug1 (NGX_LOG_DEBUG_HTTP, e->log, 0,
+ ngx_log_debug1 (NGX_LOG_DEBUG_HTTP, e->request->connection->log, 0,
"http script value (post filter): \"%v\"", v);
break;
@@ -245,7 +245,7 @@ ndk_set_var_hash_code (ngx_http_script_engine_t *e)
v->data = (u_char *) p;
v->len = svs->size;
- ngx_log_debug1(NGX_LOG_DEBUG_HTTP, e->log, 0,
+ ngx_log_debug1(NGX_LOG_DEBUG_HTTP, e->request->connection->log, 0,
"http script hashed value: \"%v\"", v);
}

0 comments on commit 94f4fbb

Please sign in to comment.