Skip to content
Discussion options

You must be logged in to vote

Hello @vonlinee ,

In the log format pattern, the logger will be the statement ID.

With this pattern, for example, ...

<pattern>%d{HH:mm:ss.SSS} %-5level [%thread] %logger{36} - %msg%n</pattern>

... the output would look as follows.

21:00:31.485 DEBUG [main] o.a.i.s.basetest.Mapper.insertUser - ==>  Preparing: insert into users values(?, ?)
21:00:31.499 DEBUG [main] o.a.i.s.basetest.Mapper.insertUser - ==> Parameters: 2(Integer), User2(String)
21:00:31.499 DEBUG [main] o.a.i.s.basetest.Mapper.insertUser - <==    Updates: 1

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@vonlinee
Comment options

Answer selected by vonlinee
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants