I am using this image for php 7.0.33 apache from docker hub.
I want to create debug logs so that I see them in the container log (docker logs my-php-container
) without it being an error.
Trying apache_note()
(logs nothing) and error_log('test', null,'/proc/self/fd/1')
(logs as an error) was not successful.
Also using syslog()
is not an option since this log is not available when running docker logs
.
Is there some way to actually achieve that?