mirror of
https://github.com/owasp-modsecurity/ModSecurity.git
synced 2025-08-17 14:46:13 +03:00
Merge pull request #2781 from erkia/fix/add-aplog-use-module
Fix logging for Apache 2.4 (again)
This commit is contained in:
commit
c2b47ea1bb
@ -25,12 +25,6 @@
|
|||||||
#include "apr_optional.h"
|
#include "apr_optional.h"
|
||||||
#include "mod_log_config.h"
|
#include "mod_log_config.h"
|
||||||
|
|
||||||
/*
|
|
||||||
* #ifdef APLOG_USE_MODULE
|
|
||||||
* APLOG_USE_MODULE(security2);
|
|
||||||
* #endif
|
|
||||||
*/
|
|
||||||
|
|
||||||
#include "msc_logging.h"
|
#include "msc_logging.h"
|
||||||
#include "msc_util.h"
|
#include "msc_util.h"
|
||||||
|
|
||||||
|
@ -145,6 +145,9 @@ extern DSOLOCAL char *real_server_signature;
|
|||||||
extern DSOLOCAL char *chroot_dir;
|
extern DSOLOCAL char *chroot_dir;
|
||||||
|
|
||||||
extern module AP_MODULE_DECLARE_DATA security2_module;
|
extern module AP_MODULE_DECLARE_DATA security2_module;
|
||||||
|
#ifdef APLOG_USE_MODULE
|
||||||
|
APLOG_USE_MODULE(security2);
|
||||||
|
#endif
|
||||||
|
|
||||||
extern DSOLOCAL const command_rec module_directives[];
|
extern DSOLOCAL const command_rec module_directives[];
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user