httpd-cvs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From s.@apache.org
Subject svn commit: r1184839 - in /httpd/mod_mbox/trunk/module-2.0: mod_mbox.c mod_mbox_cte.c mod_mbox_file.c mod_mbox_index.c mod_mbox_mime.c mod_mbox_out.c mod_mbox_sitemap.c
Date Sun, 16 Oct 2011 14:52:02 GMT
Author: sf
Date: Sun Oct 16 14:52:01 2011
New Revision: 1184839

URL: http://svn.apache.org/viewvc?rev=1184839&view=rev
Log:
support per-module loglevel in httpd 2.3+

Modified:
    httpd/mod_mbox/trunk/module-2.0/mod_mbox.c
    httpd/mod_mbox/trunk/module-2.0/mod_mbox_cte.c
    httpd/mod_mbox/trunk/module-2.0/mod_mbox_file.c
    httpd/mod_mbox/trunk/module-2.0/mod_mbox_index.c
    httpd/mod_mbox/trunk/module-2.0/mod_mbox_mime.c
    httpd/mod_mbox/trunk/module-2.0/mod_mbox_out.c
    httpd/mod_mbox/trunk/module-2.0/mod_mbox_sitemap.c

Modified: httpd/mod_mbox/trunk/module-2.0/mod_mbox.c
URL: http://svn.apache.org/viewvc/httpd/mod_mbox/trunk/module-2.0/mod_mbox.c?rev=1184839&r1=1184838&r2=1184839&view=diff
==============================================================================
--- httpd/mod_mbox/trunk/module-2.0/mod_mbox.c (original)
+++ httpd/mod_mbox/trunk/module-2.0/mod_mbox.c Sun Oct 16 14:52:01 2011
@@ -40,6 +40,10 @@
 
 #include "apr_lib.h"
 
+#ifdef APLOG_USE_MODULE
+APLOG_USE_MODULE(mbox);
+#endif
+
 /* Register module hooks.
  */
 static void mbox_register_hooks(apr_pool_t *p)

Modified: httpd/mod_mbox/trunk/module-2.0/mod_mbox_cte.c
URL: http://svn.apache.org/viewvc/httpd/mod_mbox/trunk/module-2.0/mod_mbox_cte.c?rev=1184839&r1=1184838&r2=1184839&view=diff
==============================================================================
--- httpd/mod_mbox/trunk/module-2.0/mod_mbox_cte.c (original)
+++ httpd/mod_mbox/trunk/module-2.0/mod_mbox_cte.c Sun Oct 16 14:52:01 2011
@@ -21,6 +21,10 @@
 
 #include "mod_mbox.h"
 
+#ifdef APLOG_USE_MODULE
+APLOG_USE_MODULE(mbox);
+#endif
+
 /*
  * The char64 macro and `mime_decode_b64' routine are taken from
  * metamail 2.7, which is copyright (c) 1991 Bell Communications

Modified: httpd/mod_mbox/trunk/module-2.0/mod_mbox_file.c
URL: http://svn.apache.org/viewvc/httpd/mod_mbox/trunk/module-2.0/mod_mbox_file.c?rev=1184839&r1=1184838&r2=1184839&view=diff
==============================================================================
--- httpd/mod_mbox/trunk/module-2.0/mod_mbox_file.c (original)
+++ httpd/mod_mbox/trunk/module-2.0/mod_mbox_file.c Sun Oct 16 14:52:01 2011
@@ -16,6 +16,10 @@
 
 #include "mod_mbox.h"
 
+#ifdef APLOG_USE_MODULE
+APLOG_USE_MODULE(mbox);
+#endif
+
 /* Fetch a message from mailbox */
 Message *fetch_message(request_rec *r, apr_file_t *f, char *msgID)
 {

Modified: httpd/mod_mbox/trunk/module-2.0/mod_mbox_index.c
URL: http://svn.apache.org/viewvc/httpd/mod_mbox/trunk/module-2.0/mod_mbox_index.c?rev=1184839&r1=1184838&r2=1184839&view=diff
==============================================================================
--- httpd/mod_mbox/trunk/module-2.0/mod_mbox_index.c (original)
+++ httpd/mod_mbox/trunk/module-2.0/mod_mbox_index.c Sun Oct 16 14:52:01 2011
@@ -20,6 +20,11 @@
 
 #include "mod_mbox.h"
 
+#ifdef APLOG_USE_MODULE
+APLOG_USE_MODULE(mbox);
+#endif
+
+
 /* Compare two file entries (in reverse order).
  *
  * This function is only Used when sorting file list to :

Modified: httpd/mod_mbox/trunk/module-2.0/mod_mbox_mime.c
URL: http://svn.apache.org/viewvc/httpd/mod_mbox/trunk/module-2.0/mod_mbox_mime.c?rev=1184839&r1=1184838&r2=1184839&view=diff
==============================================================================
--- httpd/mod_mbox/trunk/module-2.0/mod_mbox_mime.c (original)
+++ httpd/mod_mbox/trunk/module-2.0/mod_mbox_mime.c Sun Oct 16 14:52:01 2011
@@ -19,6 +19,10 @@
 
 #include "mod_mbox.h"
 
+#ifdef APLOG_USE_MODULE
+APLOG_USE_MODULE(mbox);
+#endif
+
 static apr_status_t cleanup_mime_msg(void *data)
 {
     mbox_mime_message_t *mail = data;

Modified: httpd/mod_mbox/trunk/module-2.0/mod_mbox_out.c
URL: http://svn.apache.org/viewvc/httpd/mod_mbox/trunk/module-2.0/mod_mbox_out.c?rev=1184839&r1=1184838&r2=1184839&view=diff
==============================================================================
--- httpd/mod_mbox/trunk/module-2.0/mod_mbox_out.c (original)
+++ httpd/mod_mbox/trunk/module-2.0/mod_mbox_out.c Sun Oct 16 14:52:01 2011
@@ -19,6 +19,10 @@
 
 #include "mod_mbox.h"
 
+#ifdef APLOG_USE_MODULE
+APLOG_USE_MODULE(mbox);
+#endif
+
 static const char *mbox_months[12][2] = {
     {"Jan", "January"},
     {"Feb", "February"},

Modified: httpd/mod_mbox/trunk/module-2.0/mod_mbox_sitemap.c
URL: http://svn.apache.org/viewvc/httpd/mod_mbox/trunk/module-2.0/mod_mbox_sitemap.c?rev=1184839&r1=1184838&r2=1184839&view=diff
==============================================================================
--- httpd/mod_mbox/trunk/module-2.0/mod_mbox_sitemap.c (original)
+++ httpd/mod_mbox/trunk/module-2.0/mod_mbox_sitemap.c Sun Oct 16 14:52:01 2011
@@ -23,6 +23,10 @@
 
 #include "mod_mbox.h"
 
+#ifdef APLOG_USE_MODULE
+APLOG_USE_MODULE(mbox);
+#endif
+
 static void mbox2sitemap(request_rec *r, const char *mboxfile,
                          mbox_cache_info *mli, 
                          int partition,



Mime
View raw message