From 645556de326d2bc05a68a5af0922eb75e38b07f2 Mon Sep 17 00:00:00 2001 From: Kannan Kirishikesan Date: Thu, 18 May 2023 11:41:56 +0530 Subject: [PATCH] Log improvement in FilePropertyResolver --- .../synapse/commons/resolvers/FilePropertyResolver.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/modules/commons/src/main/java/org/apache/synapse/commons/resolvers/FilePropertyResolver.java b/modules/commons/src/main/java/org/apache/synapse/commons/resolvers/FilePropertyResolver.java index dd7eb496e8..16bbe1ef7c 100644 --- a/modules/commons/src/main/java/org/apache/synapse/commons/resolvers/FilePropertyResolver.java +++ b/modules/commons/src/main/java/org/apache/synapse/commons/resolvers/FilePropertyResolver.java @@ -52,11 +52,11 @@ public String resolve() { String PropertyValue = propertyLoader.getValue(input); if (LOG.isDebugEnabled()) { - LOG.debug("Resolving File Property value " + PropertyValue); + LOG.debug("Resolving File parameter key: "+ input + " value: " + PropertyValue); } if (PropertyValue == null) { - throw new ResolverException("File Property variable could not be found"); + throw new ResolverException("File parameter key: " + input + " could not be found"); } return PropertyValue; }