title: How to log without logging an error in PHP apache2 docker container?
body: <p>I am using this image for <a href="https://hub.docker.com/layers/php/library/php/7.0.33-apache-stretch/images/sha256-a69bb3d1833db06a81ff5d85e8e2e0f0105b1596369e061cecac9fe569e0694d?context=explore" rel="nofollow noreferrer">php 7.0.33 apache from docker hub</a>.</p>
  
  <p>I want to create debug logs so that I see them in the container log (<code>docker logs my-php-container</code>) without it being an error.</p>
  
  <p>Trying <code>apache_note()</code> (logs nothing) and <code>error_log('test', null,'/proc/self/fd/1')</code> (logs as an error) was not successful.
  Also using <code>syslog()</code> is not an option since this log is not available when running <code>docker logs</code>.</p>
  
  <p>Is there some way to actually achieve that?</p>
  
  <p>edit: here is the result of my tests <a href="https://i.stack.imgur.com/adtFi.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/adtFi.png" alt="log testing results"></a></p>