apache-mod_perl/0002-per-module-loglevel-config.patch

27 lines
717 B
Diff
Raw Permalink Normal View History

From 5ba6d0494511bcf69f056e3ded705607585ed11a Mon Sep 17 00:00:00 2001
From: Stefan Fritsch <sf@sfritsch.de>
Date: Sun, 22 Apr 2012 21:48:57 +0200
Subject: [PATCH 02/28] per-module loglevel config
tell httpd that we are logging for mod_perl
---
src/modules/perl/modperl_apache_includes.h | 4 ++++
1 file changed, 4 insertions(+)
diff --git a/src/modules/perl/modperl_apache_includes.h b/src/modules/perl/modperl_apache_includes.h
index dd39bf6..a4209c5 100644
--- a/src/modules/perl/modperl_apache_includes.h
+++ b/src/modules/perl/modperl_apache_includes.h
@@ -43,4 +43,8 @@
#include "util_script.h"
+#ifndef MP_IN_XS
+APLOG_USE_MODULE(perl);
+#endif
+
#endif /* MODPERL_APACHE_INCLUDES_H */
--
1.7.11.4