title: Hibernate log4j.properties print DB uname & pass
body: <p>My story is as follows.
  I have a java app with hibernate connected to a embedded db(derby).
  The funny thing was, that my hibernate app printed the uname at start, because i was using slf4j-simple, and so i set my App to use log4j.</p>
  
  <p>Hibernate db uname&amp;pass are set in code, using property object.
  I tried using the same trick on log4j property configurator, but the log4j.properties file overide my property object.
  But the log4j.properties file is easily changed, and the main quiestion is.
  Can log4j be set to print my db uname&amp;pass, or any of the sensitive data used in my Hibernate config in the App???</p>