aaryansinhaa opened a new pull request, #7294: URL: https://github.com/apache/gravitino/pull/7294
### What changes were proposed in this pull request? Replaced string Concatenation in SLF4J `LOG.info` statement with built-in formatting in the following files: 1. `catalogs/catalog-jdbc-doris/src/main/java/org/apache/gravitino/catalog/doris/operation/DorisTableOperations.java` 2. `catalogs/catalog-jdbc-mysql/src/main/java/org/apache/gravitino/catalog/mysql/operation/MysqlTableOperations.java` 3. `catalogs/catalog-jdbc-oceanbase/src/main/java/org/apache/gravitino/catalog/oceanbase/operation/OceanBaseTableOperations.java` ### Why are the changes needed? Using built-in formatting can help in: 1. It Enables **Lazy Evaluation**, ie, the string will not be constructed if the log is turned off. 2. Improves **consistency** and **best practice** throughout the codebase. 3. avoids concatenation overhead at runtime. This change was requested in Issue Number #7282. ### Does this PR introduce _any_ user-facing change? No, It does not introduce any user-facing change as it only affects internal logging behavior. ### How was this patch tested? As this is a logging improvement, no new test cases were added. The change is simple and syntactic. However, the affected classes still compile and retain the intended logging output. -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected]
