Skip to content

Commit

Permalink
Merge pull request #319 from airween/extendloginfo
Browse files Browse the repository at this point in the history
feat: Add engine info to startup log
  • Loading branch information
airween authored Apr 23, 2024
2 parents 61425ed + 494959a commit 1d7b67f
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 1d7b67f

Please sign in to comment.