Repository: ignite
Updated Branches:
  refs/heads/ignite-843-rc1 c508a7ef3 -> 9f84f957b


IGNITE-843 Reduce logs


Project: http://git-wip-us.apache.org/repos/asf/ignite/repo
Commit: http://git-wip-us.apache.org/repos/asf/ignite/commit/9f84f957
Tree: http://git-wip-us.apache.org/repos/asf/ignite/tree/9f84f957
Diff: http://git-wip-us.apache.org/repos/asf/ignite/diff/9f84f957

Branch: refs/heads/ignite-843-rc1
Commit: 9f84f957b922a64b0a4efb18dbdc46abb8f09115
Parents: c508a7e
Author: Andrey <[email protected]>
Authored: Wed Oct 14 08:24:45 2015 +0700
Committer: Andrey <[email protected]>
Committed: Wed Oct 14 08:24:45 2015 +0700

----------------------------------------------------------------------
 modules/control-center-web/src/main/js/app.js | 6 +++++-
 1 file changed, 5 insertions(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/ignite/blob/9f84f957/modules/control-center-web/src/main/js/app.js
----------------------------------------------------------------------
diff --git a/modules/control-center-web/src/main/js/app.js 
b/modules/control-center-web/src/main/js/app.js
index e4dd654..3beb85f 100644
--- a/modules/control-center-web/src/main/js/app.js
+++ b/modules/control-center-web/src/main/js/app.js
@@ -57,7 +57,11 @@ app.set('view engine', 'jade');
 // Site favicon.
 app.use(favicon(__dirname + '/public/favicon.ico'));
 
-app.use(logger('dev'));
+app.use(logger('dev', {
+    skip: function (req, res) {
+        return res.statusCode < 400
+    }
+}));
 
 app.use(bodyParser.json());
 app.use(bodyParser.urlencoded({extended: false}));

Reply via email to