Skip to content

Commit

Permalink
Fixed #48 logging class and method
Browse files Browse the repository at this point in the history
  • Loading branch information
baubakg committed Apr 26, 2024
1 parent a48d551 commit d9f042a
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@
import com.adobe.campaign.tests.bridge.service.exceptions.*;
import com.fasterxml.jackson.annotation.JsonIgnore;
import com.fasterxml.jackson.annotation.JsonProperty;
import org.apache.logging.log4j.LogManager;

import java.lang.reflect.Constructor;
import java.lang.reflect.InvocationTargetException;
Expand Down Expand Up @@ -139,6 +140,7 @@ public Object call(IntegroBridgeClassLoader iClassLoader) {

Object lr_object;
try {
LogManager.getLogger().debug("Calling Class: {} and Method: {} with {} arguments.", this.getClassName(), this.getMethodName(), this.args.length);
//Add our package to the classLoader integrity paths
if (ConfigValueHandlerIBS.INTEGRITY_PACKAGE_INJECTION_MODE.is("semi-manual")) {

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -100,7 +100,7 @@ public JavaCallResults submitCalls() {
JavaCallResults lr_returnObject = new JavaCallResults();

for (String lt_key : this.getCallContent().keySet()) {
LogManagement.logStep(lt_key+ "(Class: "+this.getCallContent().get(lt_key).getClassName()+ " Method: "+this.getCallContent().get(lt_key).getMethodName()+"("+this.getCallContent().get(lt_key).getArgs().length+")");
LogManagement.logStep(lt_key);

long l_startOfCall = System.currentTimeMillis();
Object callResult = this.call(lt_key);
Expand Down

0 comments on commit d9f042a

Please sign in to comment.