      n = ngx_http_script_variables_count(&value[1]);
  
      if (n == 0) {
-@@ -897,7 +1012,7 @@ ngx_http_log_set_log(ngx_conf_t *cf, ngx_command_t *cmd, void *conf)
+@@ -920,7 +1035,7 @@
          if (log->file == NULL) {
              return NGX_CONF_ERROR;
          }

+}
+#endif
+
diff --git a/src/core/ngx_log.h b/src/core/ngx_log.h
index 1054836..14288ee 100644
--- a/src/core/ngx_log.h
+++ b/src/core/ngx_log.h
@@ -11,6 +11,13 @@
 #include <ngx_config.h>
 #include <ngx_core.h>
 

 
 typedef struct ngx_http_log_op_s  ngx_http_log_op_t;
 
@@ -52,6 +57,11 @@
     time_t                      disk_full_time;
     time_t                      error_log_time;
     ngx_http_log_fmt_t         *format;
