Merge pull request #2781 from erkia/fix/add-aplog-use-module

Fix logging for Apache 2.4 (again)
This commit is contained in:
martinhsv 2022-11-14 14:26:54 -05:00 committed by GitHub
commit c2b47ea1bb
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 3 additions and 6 deletions

View File

@ -25,12 +25,6 @@
#include "apr_optional.h"
#include "mod_log_config.h"
/*
* #ifdef APLOG_USE_MODULE
* APLOG_USE_MODULE(security2);
* #endif
*/
#include "msc_logging.h"
#include "msc_util.h"

View File

@ -145,6 +145,9 @@ extern DSOLOCAL char *real_server_signature;
extern DSOLOCAL char *chroot_dir;
extern module AP_MODULE_DECLARE_DATA security2_module;
#ifdef APLOG_USE_MODULE
APLOG_USE_MODULE(security2);
#endif
extern DSOLOCAL const command_rec module_directives[];