title: Can I log data from $_SESSION to apache's custom (access) log?
body: <p>When I have my user's IDs in <code>$_SESSION['user']['id']</code> and I want to store this ID in apache2's custom log, is this possible?</p>
  
  <p>Either with apache 2.2 or apache 2.4. Doesn't matter.</p>
  
  <p>So for example, line as this:</p>
  
  <pre><code>61963   85.162.206.25   [14/Sep/2013:22:17:07 +0000]    9088    /index.php
  </code></pre>
  
  <p>Would become:</p>
  
  <pre><code>61963   85.162.206.25   [14/Sep/2013:22:17:07 +0000]    9088    /index.php  20
  </code></pre>
  
  <p>Indicating that it was user ID 20. <code>// as $_SESSION['user']['id'] == 20</code></p>