You are viewing a plain text version of this content. The canonical link for it is here.
Posted to cvs@httpd.apache.org by rj...@apache.org on 2012/11/27 13:46:50 UTC

svn commit: r1414159 - /httpd/mod_mbox/trunk/module-2.0/mod_mbox_mime.c

Author: rjung
Date: Tue Nov 27 12:46:49 2012
New Revision: 1414159

URL: http://svn.apache.org/viewvc?rev=1414159&view=rev
Log:
Use request error log instead of server one.
We have the request available here and thus
can better track what's happening
(using the request correlation ID in 2.4).

Modified:
    httpd/mod_mbox/trunk/module-2.0/mod_mbox_mime.c

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=1414159&r1=1414158&r2=1414159&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 Tue Nov 27 12:46:49 2012
@@ -371,8 +371,8 @@ char *mbox_mime_get_body(request_rec *r,
                 new_len = vb.strlen + 1;
             }
             else {
-                ap_log_error(APLOG_MARK, APLOG_ERR, rv, ap_server_conf,
-                             "conversion from '%s' to utf-8 failed", m->charset);
+                ap_log_rerror(APLOG_MARK, APLOG_ERR, rv, r,
+                              "conversion from '%s' to utf-8 failed", m->charset);
             }
             ap_log_rerror(APLOG_MARK, APLOG_TRACE4, 0, r,
                           "mbox_mime_get_body: conversion done");