ignite-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ptupit...@apache.org
Subject [1/5] ignite git commit: IGNITE-3925: Output process ID to the log on node start.
Date Fri, 23 Sep 2016 16:20:08 GMT
Repository: ignite
Updated Branches:
  refs/heads/master 9cd4ab8ff -> 16a29d311


IGNITE-3925: Output process ID to the log on node start.


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

Branch: refs/heads/master
Commit: 29f508b17eb383a1c910c72e7d5056564acc37c2
Parents: 9666dc4
Author: vozerov-gridgain <vozerov@gridgain.com>
Authored: Fri Sep 23 10:59:55 2016 +0300
Committer: vozerov-gridgain <vozerov@gridgain.com>
Committed: Fri Sep 23 10:59:55 2016 +0300

----------------------------------------------------------------------
 .../src/main/java/org/apache/ignite/internal/IgniteKernal.java  | 5 +++++
 1 file changed, 5 insertions(+)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/ignite/blob/29f508b1/modules/core/src/main/java/org/apache/ignite/internal/IgniteKernal.java
----------------------------------------------------------------------
diff --git a/modules/core/src/main/java/org/apache/ignite/internal/IgniteKernal.java b/modules/core/src/main/java/org/apache/ignite/internal/IgniteKernal.java
index b85692e..827b54a 100644
--- a/modules/core/src/main/java/org/apache/ignite/internal/IgniteKernal.java
+++ b/modules/core/src/main/java/org/apache/ignite/internal/IgniteKernal.java
@@ -1781,6 +1781,11 @@ public class IgniteKernal implements IgniteEx, IgniteMXBean, Externalizable
{
         if (log.isInfoEnabled()) {
             log.info("OS: " + U.osString());
             log.info("OS user: " + System.getProperty("user.name"));
+
+            int jvmPid = U.jvmPid();
+
+            if (log.isInfoEnabled())
+                log.info("PID: " + (jvmPid == -1 ? "N/A" : jvmPid));
         }
     }
 


Mime
View raw message