You are viewing a plain text version of this content. The canonical link for it is here.
Posted to common-issues@hadoop.apache.org by "John Zhuge (JIRA)" <ji...@apache.org> on 2016/06/20 23:41:57 UTC

[jira] [Updated] (HADOOP-13301) Millisecond timestamp for FsShell console log

     [ https://issues.apache.org/jira/browse/HADOOP-13301?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

John Zhuge updated HADOOP-13301:
--------------------------------
    Attachment: HADOOP-13301.001.patch

Patch 001:
* Change console log4j.appender.console.layout.ConversionPattern to ISO8601 which prints milliseconds.
* Change JSA as well so that everybody uses ISO8601.

> Millisecond timestamp for FsShell console log
> ---------------------------------------------
>
>                 Key: HADOOP-13301
>                 URL: https://issues.apache.org/jira/browse/HADOOP-13301
>             Project: Hadoop Common
>          Issue Type: Improvement
>    Affects Versions: 2.6.0
>            Reporter: John Zhuge
>            Assignee: John Zhuge
>            Priority: Trivial
>             Fix For: 3.0.0-alpha1
>
>         Attachments: HADOOP-13301.001.patch
>
>
> The log message timestamp on FsShell console show only seconds. 
> {noformat}
> $ export HADOOP_ROOT_LOGGER=TRACE,console
> $ hdfs dfs -rm -skipTrash /tmp/2G*
> 16/06/20 16:00:03 DEBUG util.Shell: setsid exited with exit code 0
> {noformat}
> Would like to see milliseconds for quick performance turning.
> {noformat}
> 2016-06-20 16:01:42,588 DEBUG util.Shell: setsid exited with exit code 0
> {noformat}



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

---------------------------------------------------------------------
To unsubscribe, e-mail: common-issues-unsubscribe@hadoop.apache.org
For additional commands, e-mail: common-issues-help@hadoop.apache.org