ignite-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From sevdoki...@apache.org
Subject [37/50] incubator-ignite git commit: Added support of "-v" for VisorConsole.
Date Wed, 29 Apr 2015 10:44:59 GMT
Added support of "-v" for VisorConsole.


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

Branch: refs/heads/ignite-709_2
Commit: 998fb78954b12f3da2a2c34cc7d7e2d1d7cb02f1
Parents: 2a68725
Author: AKuznetsov <akuznetsov@gridgain.com>
Authored: Tue Apr 28 21:21:09 2015 +0700
Committer: AKuznetsov <akuznetsov@gridgain.com>
Committed: Tue Apr 28 21:21:09 2015 +0700

----------------------------------------------------------------------
 .../src/main/scala/org/apache/ignite/visor/visor.scala           | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-ignite/blob/998fb789/modules/visor-console/src/main/scala/org/apache/ignite/visor/visor.scala
----------------------------------------------------------------------
diff --git a/modules/visor-console/src/main/scala/org/apache/ignite/visor/visor.scala b/modules/visor-console/src/main/scala/org/apache/ignite/visor/visor.scala
index 976ac3a..cab7f03 100644
--- a/modules/visor-console/src/main/scala/org/apache/ignite/visor/visor.scala
+++ b/modules/visor-console/src/main/scala/org/apache/ignite/visor/visor.scala
@@ -1620,7 +1620,9 @@ object visor extends VisorTag {
         // Make sure visor starts without shutdown hook.
         System.setProperty(IGNITE_NO_SHUTDOWN_HOOK, "true")
 
-        cfg.setGridLogger(new NullLogger)
+        // Set NullLoger in quite mode.
+        if ("true".equalsIgnoreCase(System.getProperty(IGNITE_QUIET, "true")))
+            cfg.setGridLogger(new NullLogger)
 
         val startedGridName = try {
              Ignition.start(cfg).name


Mime
View raw message