aboutsummaryrefslogtreecommitdiff
path: root/src/core/ngx_modules.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/core/ngx_modules.c')
-rw-r--r--src/core/ngx_modules.c6
1 files changed, 2 insertions, 4 deletions
diff --git a/src/core/ngx_modules.c b/src/core/ngx_modules.c
index dfe0243ad..c3159ad84 100644
--- a/src/core/ngx_modules.c
+++ b/src/core/ngx_modules.c
@@ -27,6 +27,7 @@ extern ngx_module_t ngx_aio_module;
extern ngx_module_t ngx_http_module;
extern ngx_module_t ngx_http_core_module;
+extern ngx_module_t ngx_http_log_module;
extern ngx_module_t ngx_http_write_filter_module;
extern ngx_module_t ngx_http_output_filter_module;
@@ -42,8 +43,6 @@ extern ngx_module_t ngx_http_static_module;
extern ngx_module_t ngx_http_index_module;
extern ngx_module_t ngx_http_proxy_module;
-extern ngx_module_t ngx_http_log_module;
-
ngx_module_t *ngx_modules[] = {
@@ -78,6 +77,7 @@ ngx_module_t *ngx_modules[] = {
&ngx_http_module,
&ngx_http_core_module,
+ &ngx_http_log_module,
&ngx_http_write_filter_module,
&ngx_http_output_filter_module,
&ngx_http_header_filter_module,
@@ -93,7 +93,5 @@ ngx_module_t *ngx_modules[] = {
&ngx_http_index_module,
&ngx_http_proxy_module,
- &ngx_http_log_module,
-
NULL
};