Synchronous methods with @TransactionalEventListener logs in debug level. However, most production logs are filtered by error level. Thus most developers cannot detect @TransactionalEventListener method throws error whether or not.

It was changed from https://github.com/spring-projects/spring-framework/commit/95110d825715a70dbc7fadc0e3ebd42f44e6bdfb. I think this changed an error because it is not related to commit message.

ref: https://github.com/spring-projects/spring-framework/issues/17162

Comment From: pivotal-cla

@KSH-code Please sign the Contributor License Agreement!

Click here to manually synchronize the status of this Pull Request.

See the FAQ for frequently asked questions.

Comment From: pivotal-cla

@KSH-code Thank you for signing the Contributor License Agreement!

Comment From: jhoeller

Good point, it is not clear why that log level got downgraded to debug, this might have been an accident indeed. While regular transaction synchronizations are not meant to throw an exception there to begin with, this may certainly happen for transactional event processing and should be visible there.