| https://github.com/hibernate/hibernate-orm/blob/master/hibernate-core/src/main/java/org/hibernate/internal/SessionFactoryImpl.java#L255 The password here is logged as part of the properties file: DEBUG org.hibernate.internal.SessionFactoryImpl: Instantiating session factory with properties: {java.vendor=Oracle Corporation, sun.java.launcher=SUN_STANDARD, hibernate.connection.url=jdbc:mysql://hostname/reports_manager?useUnicode=true&characterEncoding=UTF-8, etc=etc, hibernate.connection.password=CLEAR-PASSWORD, yada=yada} Related issue: https://hibernate.atlassian.net/browse/HB-394 |