title: How to follow a request in the logs when using Restlet?
body: <p>What is the best way of tracking a specific request in a log file of a Restlet servlet?</p>
  
  <p>If there are multiple requests at the same time, I would like to be able to follow a single request in the logfile.</p>
  
  <p>Since I use the slf4j Restlet extension, I thought about using a slf4j.MDC and adding a hash of the source-IP+port+timestamp to it. Or a number which increases with every request. </p>
  
  <p>But perhaps there is another, easier way?</p>