diff --git a/lib/middleware.js b/lib/middleware.js
index <HASH>..<HASH> 100644
--- a/lib/middleware.js
+++ b/lib/middleware.js
@@ -40,7 +40,9 @@ var middleware = function (logging){
                 yield next;
             }
             catch (e) {
-                logging.error({"message": e});
+                if (!e.status || e.status.toString().match(/^5\d\d$/)) {
+                    logging.error({"message": e});
+                }
                 throw e;
             }
             logging.perform({
now if error.status is set and errror.status is not 5xx, do not print the error log since it is a simple NOT FOUND error