title: Is it possible to change PHP error log output?
body: <p>I have configured the <code>error_log</code> directive in my <em>php.ini</em> file, like this:</p>
  <pre><code>error_log = /path/to/logs/error_log
  </code></pre>
  <p>And then I configured the <code>error_reporting</code> directive like this:</p>
  <pre><code>error_reporting = E_ALL &amp; ~E_DEPRECATED &amp; ~E_STRICT
  </code></pre>
  <p>When I check the error_log file, I see normal PHP warning/error text lines:</p>
  <pre class="lang-none prettyprint-override"><code>[03-Jun-2015 08:39:00 America/Bogota] PHP Notice:  Undefined index: cerrar in /fake/path/to/file2.php on line 68
  [03-Jun-2015 08:40:49 America/Bogota] PHP Notice:  Undefined index:  in /fake/path/to/file2.php on line 344
  </code></pre>
  <p>Is there is a way to change output format? I mean, if I can print, for example, the IP address and the subdomain that cause the warning.</p>
  <p>I was looking for it on Stack Overflow, in Google Search, and I don't find clear information or examples.</p>