mirror of
https://github.com/owasp-modsecurity/ModSecurity.git
synced 2025-08-14 05:45:59 +03:00
Print YAJL version on startup. Closing issue: #703
This commit is contained in:
parent
79639b5e47
commit
87df4827dc
@ -39,6 +39,11 @@
|
||||
|
||||
#include "msc_status_engine.h"
|
||||
|
||||
|
||||
#ifdef WITH_YAJL
|
||||
#include <yajl/yajl_version.h>
|
||||
#endif /* WITH_YAJL */
|
||||
|
||||
/* ModSecurity structure */
|
||||
|
||||
msc_engine DSOLOCAL *modsecurity = NULL;
|
||||
@ -117,6 +122,11 @@ static void version(apr_pool_t *mp) {
|
||||
"ModSecurity: LUA compiled version=\"%s\"", LUA_VERSION);
|
||||
#endif /* WITH_LUA */
|
||||
|
||||
#ifdef WITH_YAJL
|
||||
ap_log_error(APLOG_MARK, APLOG_NOTICE, 0, NULL,
|
||||
"ModSecurity: YAJL compiled version=\"%d.%d.%d\"", YAJL_MAJOR, YAJL_MINOR, YAJL_MICRO);
|
||||
#endif /* WITH_YAJL */
|
||||
|
||||
ap_log_error(APLOG_MARK, APLOG_NOTICE, 0, NULL,
|
||||
"ModSecurity: LIBXML compiled version=\"%s\"", LIBXML_DOTTED_VERSION);
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user