You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@nifi.apache.org by "Pierre Villard (JIRA)" <ji...@apache.org> on 2017/07/25 16:02:01 UTC

[jira] [Assigned] (NIFI-4221) Print app startup in human-readable time

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

Pierre Villard reassigned NIFI-4221:
------------------------------------

    Assignee: Pierre Villard

> Print app startup in human-readable time
> ----------------------------------------
>
>                 Key: NIFI-4221
>                 URL: https://issues.apache.org/jira/browse/NIFI-4221
>             Project: Apache NiFi
>          Issue Type: Improvement
>          Components: Core Framework
>    Affects Versions: 1.3.0
>            Reporter: Andy LoPresto
>            Assignee: Pierre Villard
>            Priority: Minor
>              Labels: logs, time
>
> Currently the application startup time is printed in nanoseconds in the app log. While this is very precise, because of the scale of these values, it can require mental math to detect delays or variance from the standard/average timing. I think it would be helpful to print a "human-readable" (i.e. broken out into larger units) start time alongside the nanosecond precision time: 
> {code}
> 2017-07-24 14:00:14,159 INFO [main] org.apache.nifi.NiFi Controller initialization took 15127377569 nanoseconds.
> {code}
> to:
> {code}
> 2017-07-24 14:00:14,159 INFO [main] org.apache.nifi.NiFi Controller initialization took 15127377569 nanoseconds (15 seconds).
> {code}
> While currently it's simply a matter of moving the decimal over the right number of places, some deployments on cloud systems (especially those with low entropy before NIFI-3313 was resolved) could take minutes to deploy. Being able to parse these values in meaningful dimensions at a glance is helpful. 
> Update: This is also the case with NAR unpacking time: {{2017-06-05 19:39:50,095 INFO [main] org.apache.nifi.nar.NarUnpacker NAR loading process took 11056718205 nanoseconds.}}



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