How spring-data-mongodb prints execution statements

such as: how to open the log of the spring-data-mongodb tool in ssm and print the sql execution statement?

the above article seems to solve my problem, but I don"t know in which file it is set up?
ask for help!

MySQL Query : SELECT * FROM `codeshelper`.`v9_news` WHERE status=99 AND catid='6' ORDER BY rand() LIMIT 5
MySQL Error : Disk full (/tmp/#sql-temptable-64f5-1be8dc0-31934.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
MySQL Errno : 1021
Message : Disk full (/tmp/#sql-temptable-64f5-1be8dc0-31934.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
Need Help?