-
|
to help find the statement in sql log, can the id of statement be added into the sql log, like this :
|
Beta Was this translation helpful? Give feedback.
Answered by
harawata
Jan 25, 2026
Replies: 1 comment 1 reply
-
|
Hello @vonlinee , In the log format pattern, the With this pattern, for example, ... ... the output would look as follows. |
Beta Was this translation helpful? Give feedback.
1 reply
Answer selected by
vonlinee
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment

Hello @vonlinee ,
In the log format pattern, the
loggerwill be the statement ID.With this pattern, for example, ...
mybatis-3/src/test/resources/logback-test.xml
Line 24 in a20b521
... the output would look as follows.