Skip to content

Commit

Permalink
Change log to connection
Browse files Browse the repository at this point in the history
  • Loading branch information
Marcus Clyne committed Oct 14, 2010
1 parent ab36d98 commit 94f4fbb
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 7 deletions.
10 changes: 5 additions & 5 deletions config
Expand Up @@ -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 ##
Expand Down
4 changes: 2 additions & 2 deletions src/ndk_set_var.c
Expand Up @@ -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;

Expand Down Expand Up @@ -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);
}

Expand Down

0 comments on commit 94f4fbb

Please sign in to comment.