title: add unique id to requests forwarded from nginx reverse proxy
body: <p>We are running nginx as a reverse proxy that forwards requests to a Clojure application running Compojure, a library that wraps around Jetty and provides our application with the ability to service web requests.</p>
  
  <p>We currently capture logs generated by both nginx and the Clojure application (via log4j to syslog). We are unable, however, to match an entry in the nginx log to an entry in the syslog output of the Clojure application.</p>
  
  <p>We need to figure out a way to modify the request sent upstream to the Clojure app to include some kind of ID. This could be an integer, UUID, whatever.</p>
  
  <p>Do you have any suggestions as to how best to accomplish this?</p>
  
  <p>Thanks for your help!</p>