title: Logging Spring bean creation / dependency injection
body: <p>I'm looking for a way to set up <code>Log4j</code> (or any other logger) so that I can see in log whenever Spring creates a bean or sets a bean property. Eg. something like this:</p>
  
  <pre><code>1:00:00 Creating bean Foo (Foo@ef5c94)
  1:00:01 Creating bean Bar (Bar@147a87e)
  1:00:02 Setting bean Foo (Foo@ef5c94) to Bar (Bar@147a87e)
  (...)
  </code></pre>
  
  <p>Is this easily possible? I'm using <code>Spring 2.5.6</code> (no choice there :/ ) and <code>Log4j</code> (version doesn't matter I expect).</p>