Win a copy of The Business Blockchain this week in the Cloud forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

regarding hibernate database password getting printed in debug log file

 
Indrayani Godbole
Ranch Hand
Posts: 33
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi All,
My application is deployed on tomcat , the application uses hibernate .
when tomcat is started, if the debug level is ON , it prints the database password in debug log file without any encryption.

is there any way to avoid the password printing.

I searched on web for the same but did not get any satisfactory solution.

 
Jaikiran Pai
Marshal
Pie
Posts: 10447
227
IntelliJ IDE Ubuntu
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Can you post (the masked) log line to see who's really logging it?
 
Jaikiran Pai
Marshal
Pie
Posts: 10447
227
IntelliJ IDE Ubuntu
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Also, which exact version of Hibernate is this?
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic