This is an automated email from the ASF dual-hosted git repository.

exceptionfactory pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/nifi.git


The following commit(s) were added to refs/heads/main by this push:
     new 27985e0a9d NIFI-15450 Added logging message when Asset File sync 
completes (#10764)
27985e0a9d is described below

commit 27985e0a9dceff78f01401633543181caa77b699
Author: Bob Paulin <[email protected]>
AuthorDate: Tue Jan 13 11:00:51 2026 -0600

    NIFI-15450 Added logging message when Asset File sync completes (#10764)
    
    Signed-off-by: David Handermann <[email protected]>
---
 .../src/main/java/org/apache/nifi/asset/StandardAssetSynchronizer.java  | 2 ++
 1 file changed, 2 insertions(+)

diff --git 
a/nifi-framework-bundle/nifi-framework/nifi-framework-core/src/main/java/org/apache/nifi/asset/StandardAssetSynchronizer.java
 
b/nifi-framework-bundle/nifi-framework/nifi-framework-core/src/main/java/org/apache/nifi/asset/StandardAssetSynchronizer.java
index a64fef129d..891edbabcf 100644
--- 
a/nifi-framework-bundle/nifi-framework/nifi-framework-core/src/main/java/org/apache/nifi/asset/StandardAssetSynchronizer.java
+++ 
b/nifi-framework-bundle/nifi-framework/nifi-framework-core/src/main/java/org/apache/nifi/asset/StandardAssetSynchronizer.java
@@ -198,6 +198,8 @@ public class StandardAssetSynchronizer implements 
AssetSynchronizer {
         while (System.currentTimeMillis() < expirationTime.toEpochMilli()) {
             final Asset syncedAsset = synchronizeAsset(assetsRestApiClient, 
parameterContextId, coordinatorAsset);
             if (syncedAsset != null) {
+                logger.info("Synchronizing asset complete 
[id={},name={},file={},digest={}]",
+                        syncedAsset.getIdentifier(), syncedAsset.getName(), 
syncedAsset.getFile().getAbsolutePath(), 
syncedAsset.getDigest().orElse("[Missing]"));
                 return;
             }
             logger.info("Unable to synchronize asset [id={},name={}] for 
parameter context [{}]: retrying until [{}]",

Reply via email to