[
https://issues.apache.org/jira/browse/NIFI-15989?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
David Handermann resolved NIFI-15989.
-------------------------------------
Fix Version/s: 2.11.0
Resolution: Fixed
> Improve time format output in Provenance task logging
> -----------------------------------------------------
>
> Key: NIFI-15989
> URL: https://issues.apache.org/jira/browse/NIFI-15989
> Project: Apache NiFi
> Issue Type: Improvement
> Reporter: David Young
> Assignee: David Young
> Priority: Minor
> Fix For: 2.11.0
>
> Time Spent: 3.5h
> Remaining Estimate: 0h
>
> Specifically in WriteAheadStorePartition, the maintenance task outputs the
> threshold as a measure of milliseconds which can be difficult to parse
> quickly.
> Pass the value of the field `olderThan` that's passed to `purgeOldEvents`
> through the Apache commons `DurationFormatUtils.formatDurationWords` to get
> the output in a more human readable format. e.g.:
> * 2592000000 -> "30 days"
> * 2592010000 -> "30 days 0 hours 0 minutes 10 seconds"
> * 3600000 -> "1 hour"
> I'm sure there are other places that this would be beneficial, but finding
> them can be difficult. I'm happy to make additional updates as needed.
--
This message was sent by Atlassian Jira
(v8.20.10#820010)