[ 
https://issues.apache.org/jira/browse/TRAFODION-2847?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16292238#comment-16292238
 ] 

ASF GitHub Bot commented on TRAFODION-2847:
-------------------------------------------

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
    
----

----


> Hard to locate issue throw dcs log
> ----------------------------------
>
>                 Key: TRAFODION-2847
>                 URL: https://issues.apache.org/jira/browse/TRAFODION-2847
>             Project: Apache Trafodion
>          Issue Type: Improvement
>            Reporter: Gong Pengju
>            Priority: Minor
>
> sometimes when dcs met problem , it's hard to locate issue happened in which 
> line and in which thread



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)

Reply via email to