title: Symfony2 logging with items best approach
body: <p>I have a site with multiple items, eg. products in a shop. I want to set up a logger that lets me do two things:</p>
  
  <ul>
  <li>Log messages related to each product. Thus I want to provide product's id with every log message.</li>
  <li>In admin area view logs for single product, not all log history.</li>
  </ul>
  
  <p>I would construct a entity that enables me to store logs with second parameter:</p>
  
  <pre><code>$logger-&gt;info("message", $productId);
  </code></pre>
  
  <p>Then store that in database and later select by product id.</p>
  
  <p>But we have monolog and lots of other logging bundles. Is there any better approach than to construct my own entity for storing logs like this?</p>