Skip to content

Commit

Permalink
feat: Add engine info to startup log
Browse files Browse the repository at this point in the history
  • Loading branch information
airween committed Apr 23, 2024
1 parent d59e4ad commit 494959a
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/ngx_http_modsecurity_module.c
Original file line number Diff line number Diff line change
Expand Up @@ -661,6 +661,9 @@ ngx_http_modsecurity_init_main_conf(ngx_conf_t *cf, void *conf)
"%s (rules loaded inline/local/remote: %ui/%ui/%ui)",
MODSECURITY_NGINX_WHOAMI, mmcf->rules_inline,
mmcf->rules_file, mmcf->rules_remote);
ngx_log_error(NGX_LOG_NOTICE, cf->log, 0,
"libmodsecurity3 version %s.%s.%s",
MODSECURITY_MAJOR, MODSECURITY_MINOR, MODSECURITY_PATCHLEVEL);

return NGX_CONF_OK;
}
Expand Down

0 comments on commit 494959a

Please sign in to comment.