martinweiler commented on code in PR #3701:
URL: 
https://github.com/apache/incubator-kie-kogito-runtimes/pull/3701#discussion_r1797439804


##########
kogito-codegen-modules/kogito-codegen-processes/src/main/java/org/kie/kogito/codegen/process/util/CodegenUtil.java:
##########
@@ -61,7 +65,9 @@ public static String globalProperty(String propertyName) {
      * @see CodegenUtil#getProperty
      */
     public static boolean isTransactionEnabled(Generator generator, 
KogitoBuildContext context) {
-        return getProperty(generator, context, TRANSACTION_ENABLED, 
Boolean::parseBoolean, true);
+        boolean propertyValue = getProperty(generator, context, 
TRANSACTION_ENABLED, Boolean::parseBoolean, true);
+        LOG.info("trying to compute property {} for generator {} property with 
value {}", generator.name(), TRANSACTION_ENABLED, propertyValue);

Review Comment:
   Just a nit-pick, `generator.name()` and `TRANSACTION_ENABLED` should be 
switched around



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to