Skip to content

Commit

Permalink
Bump log level for invocation start/stop to info
Browse files Browse the repository at this point in the history
  • Loading branch information
slinkydeveloper committed Dec 20, 2023
1 parent e95eeed commit 770cfe8
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -205,7 +205,7 @@ void onStart(MessageLite msg) {
void close() {
if (this.invocationState != InvocationState.CLOSED) {
this.transitionState(InvocationState.CLOSED);
LOG.debug("Closing state machine");
LOG.info("Stopped processing invocation");

// Cancel inputSubscription and complete outputSubscriber
if (inputSubscription != null) {
Expand All @@ -227,7 +227,7 @@ void close() {
void fail(Throwable cause) {
if (this.invocationState != InvocationState.CLOSED) {
this.transitionState(InvocationState.CLOSED);
LOG.debug("Closing state machine with failure", cause);
LOG.warn("Stopped processing invocation with failure", cause);

// Cancel inputSubscription and complete outputSubscriber
if (inputSubscription != null) {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -111,7 +111,7 @@ public InvocationFlow.InvocationOutputPublisher output() {

@Override
public void start() {
LOG.debug("Start processing call to {}/{}", serviceName, methodName);
LOG.info("Start processing invocation");
stateMachine.start(
invocationId -> {
// Set invocation id in logging context
Expand Down

0 comments on commit 770cfe8

Please sign in to comment.