You are viewing a plain text version of this content. The canonical link for it is here.
Posted to codereview@trafodion.apache.org by gpj1987 <gi...@git.apache.org> on 2017/12/15 09:29:44 UTC

[GitHub] incubator-trafodion pull request #1348: TRAFODION-2847 optimize dcs log form...

GitHub user gpj1987 opened a pull request:

    https://github.com/apache/incubator-trafodion/pull/1348

    TRAFODION-2847 optimize dcs log format

    previous logs look like
    
    2017-12-14 05:31:11,417, INFO, org.trafodion.dcs.util.VersionInfo, Node Number: , CPU: , PIN: , Process Name: , , ,Dcs 2.3.0
    2017-12-14 05:31:11,417, INFO, org.trafodion.dcs.util.VersionInfo, Node Number: , CPU: , PIN: , Process Name: , , ,Revision 1efa9db
    2017-12-14 05:31:11,417, INFO, org.trafodion.dcs.util.VersionInfo, Node Number: , CPU: , PIN: , Process Name: , , ,Compiled by traf on Thu Dec 14 05:30:52 UTC 2017
    2017-12-14 05:31:12,544, INFO, org.trafodion.dcs.master.DcsMaster, Node Number: , CPU: , PIN: , Process Name: , , ,Connected to ZooKeeper
    
    
    now logs look like
    
    2017-12-14 10:52:21,056, [Thread-2], INFO, org.trafodion.dcs.util.VersionInfo.logVersion(VersionInfo.java:107), , ,Dcs 2.3.0
    2017-12-14 10:52:21,059, [Thread-2], INFO, org.trafodion.dcs.util.VersionInfo.logVersion(VersionInfo.java:107), , ,Revision 1efa9db
    2017-12-14 10:52:21,059, [Thread-2], INFO, org.trafodion.dcs.util.VersionInfo.logVersion(VersionInfo.java:107), , ,Compiled by traf on Thu Dec 14 09:46:05 UTC 2017
    2017-12-14 10:52:22,172, [Thread-2], INFO, org.trafodion.dcs.master.DcsMaster.run(DcsMaster.java:141), , ,Connected to ZooKeeper


You can merge this pull request into a Git repository by running:

    $ git pull https://github.com/gpj1987/incubator-trafodion TRAFODION-2847

Alternatively you can review and apply these changes as the patch at:

    https://github.com/apache/incubator-trafodion/pull/1348.patch

To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:

    This closes #1348
    
----

----


---