[mirrorbrain-commits] r8038 - /trunk/mod_mirrorbrain/mod_mirrorbrain.c

From: <poeml_at_mirrorbrain.org>
Date: Fri, 23 Apr 2010 00:15:27 -0000
Author: poeml
Date: Fri Apr 23 02:15:25 2010
New Revision: 8038

URL: http://svn.mirrorbrain.org/viewvc/mirrorbrain?rev=8038&view=rev
Log:
mod_mirrorbrain: enhance the message that is logged when no hashes where found in the database

Modified:
    trunk/mod_mirrorbrain/mod_mirrorbrain.c

Modified: trunk/mod_mirrorbrain/mod_mirrorbrain.c
URL: http://svn.mirrorbrain.org/viewvc/mirrorbrain/trunk/mod_mirrorbrain/mod_mirrorbrain.c?rev=8038&r1=8037&r2=8038&view=diff
==============================================================================
--- trunk/mod_mirrorbrain/mod_mirrorbrain.c (original)
+++ trunk/mod_mirrorbrain/mod_mirrorbrain.c Fri Apr 23 02:15:25 2010
_at_@ -898,7 +898,8 @@
         const char *errmsg = apr_dbd_error(dbd->driver, dbd->handle, rv);
         ap_log_rerror(APLOG_MARK, APLOG_WARNING, rv, r,
                       "[mod_mirrorbrain] Could not retrieve row from database for %s "
-                      "(size: %s, mtime %s): %s",
+                      "(size: %s, mtime %s): %s. Likely cause: there are no hashes in "
+                      "the database (yet).",
                       filename,
                       apr_off_t_toa(r->pool, r->finfo.size),
                       apr_itoa(r->pool, apr_time_sec(r->finfo.mtime)),




_______________________________________________
mirrorbrain-commits mailing list
Archive: http://mirrorbrain.org/archive/mirrorbrain-commits/

Note: To remove yourself from this list, send a mail with the content
 	unsubscribe
to the address mirrorbrain-commits-request_at_mirrorbrain.org
Received on Fri Apr 23 2010 - 00:15:28 GMT

This archive was generated by hypermail 2.3.0 : Mon Feb 20 2012 - 23:47:04 GMT