seata 如何在客户端日志中打印回滚的字段以及信息呢?

o7jaxewo  于 2023-02-04  发布在  其他
关注(0)|答案(4)|浏览(176)

Why you need it?

Is your feature request related to a problem? Please describe in details

How it could be?

A clear and concise description of what you want to happen. You can explain more about input of the feature, and output of it.

Add any other context or screenshots about the feature request here.

wh6knrhe

wh6knrhe1#

服务端不知道具体回滚的内容,打印不了的

x6yk4ghg

x6yk4ghg2#

@caohdgege 我试图在客户端打印回滚的字段信息,请问该如何做呢?目前没有思路

busg9geu

busg9geu3#

在现有的代码这个暂时无法实现,如果你真的有需求的话,自己修改一下AbstractUndoExecutor的executeOn方法,然后自己打包。
或者用java agent动态修改应该是一种方案。

相关问题