title: Java toString puts json (gson impl) on logs
body: <p>I have multiple classes with toString: some of these have collections.</p>
  
  <p>Is this a good idea to create toString with gson?</p>
  
  <pre class="lang-java prettyprint-override"><code>@Override
  public String toString() {
      return new Gson().toJson(this);
  }
  </code></pre>
  
  <p>I use <code>toString</code> for logging with log4j. I don't want exceptions on toString output.
  Anyone use this implementation?</p>
  
  <p><em>Maybe it's a duplicate question, but I don't find the right answer</em></p>