Skip to content

Commit

Permalink
chore: Better logging of extensions
Browse files Browse the repository at this point in the history
  • Loading branch information
peacekeeper committed Oct 5, 2023
1 parent f7a5cd6 commit 412e89e
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -297,7 +297,7 @@ public <E extends Extension> void executeExtensions(Class<E> extensionClass, Ext
String changedRequest = afterRequest.equals(beforeRequest) ? "(unchanged)" : afterRequest;
String changedState = afterState.equals(beforeState) ? "(unchanged)" : afterState;
String changedExecutionState = afterExecutionState.equals(beforeExecutionState) ? "(unchanged)" : afterExecutionState;
if (log.isDebugEnabled()) log.debug("Executed extension (" + extensionStage + ") " + extension.getClass().getSimpleName() + " with request " + changedRequest + " and state " + changedState + " and execution state " + changedExecutionState);
if (log.isDebugEnabled()) log.debug("Executed extension (" + extensionStage + ") " + extension.getClass().getSimpleName() + "\n-->REQUEST " + changedRequest + "\n-->STATE: " + changedState + "\n-->EXECUTION STATE: " + changedExecutionState);
}

if (log.isDebugEnabled()) {
Expand Down

0 comments on commit 412e89e

Please sign in to comment.