Skip to content

Commit

Permalink
[WFTC-142] Lower logging level to debug for transaction timeout
Browse files Browse the repository at this point in the history
  • Loading branch information
petrberan authored and tadamski committed Feb 22, 2024
1 parent 6ae36aa commit 87702d2
Showing 1 changed file with 4 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -74,6 +74,10 @@ public interface Log extends BasicLogger {
@Message(value = "Closing the recovery stream after recovery failed threw an exception")
void recoverySuppressedException(@Cause XAException e);

@LogMessage(level = Logger.Level.DEBUG)
@Message(value = "Failed to set transaction timeout of %d")
void setTimeoutUnsuccessful(int timeout);

// Trace

@LogMessage(level = Logger.Level.TRACE)
Expand Down Expand Up @@ -423,8 +427,4 @@ public interface Log extends BasicLogger {

@Message(id = 101, value = "Failed to read Xid '%s' from xa resource recovery file %s")
IOException readXidFromXAResourceRecoveryFileFailed(String xidString, Path filePath, @Cause Exception e);

@LogMessage(level = Logger.Level.WARN)
@Message(id = 102, value = "Failed to set transaction timeout of %d")
void setTimeoutUnsuccessful(int timeout);
}

0 comments on commit 87702d2

Please sign in to comment.