Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit 494959a

Browse files
committed
feat: Add engine info to startup log
1 parent d59e4ad commit 494959a

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

‎src/ngx_http_modsecurity_module.c‎

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -661,6 +661,9 @@ ngx_http_modsecurity_init_main_conf(ngx_conf_t *cf, void *conf)
661661
"%s (rules loaded inline/local/remote: %ui/%ui/%ui)",
662662
MODSECURITY_NGINX_WHOAMI, mmcf->rules_inline,
663663
mmcf->rules_file, mmcf->rules_remote);
664+
ngx_log_error(NGX_LOG_NOTICE, cf->log, 0,
665+
"libmodsecurity3 version %s.%s.%s",
666+
MODSECURITY_MAJOR, MODSECURITY_MINOR, MODSECURITY_PATCHLEVEL);
664667

665668
return NGX_CONF_OK;
666669
}

0 commit comments

Comments
(0)

AltStyle によって変換されたページ (->オリジナル) /