"docker logs" command not showing all logs


Sorry if this question is very basic but I’m not quite getting why when I run the official amazon linux image and start httpd I only get the following logs when I run the "docker logs command.

“docker logs 10c6978fc4ca
[Thu Oct 12 16:24:27.761629 2017] [so:warn] [pid 1] AH01574: module fcgid_module is already loaded, skipping
AH00558: httpd: Could not reliably determine the server’s fully qualified domain name, using Set the ‘ServerName’ directive globally to suppress this message”

The /var/log/httpd/error.log file has these log lines, but it also has much more.

How can I get my php application show send logs to the host machine. In other words when I run the "docker logs " command on the I want my logs the PHP app that run in the container to appear.

I have tried outputting the php logs to STDOUT but this does not seem to be the same as when I run “docker logs …”

Any help as to when I’m doing wrong would be much appreciated.