title: What is the proper solution for logging on a StringBuffer object using log4j over SLF4J?
body: <p>I want to know if there's something already done, an ext library to do such thing?<br/>
  I need the logger to be redirected to a StringBuffer for then ALL that text to be included in a database record as a message.<br />
  First of all, is that a good practice??<br/>
  What I'm doing now is using a new Appender class and having that StringBuffer object, then retrieving and storing.</p>
  
  <p>Thanks in advance!</p>