Log all queries in the official Postgres docker image : <p>I have a docker container based on Postgres's official docker image. I want to see the incoming queries when I look at the logs of the docker container using <code>docker logs -f</code>. This is my Dockerfile:</p>

<pre><code>FROM postgres:11.1-alpine

COPY mock_data.sql /docker-entrypoint-initdb.d/mock_data.sql

ENV PGDATA=/data
</code></pre>

<p>and this is the part of my docker-compose.yml file related to this service:</p>

<pre><code>version: '3'
services:
  mock_data:
    image: mock_data
    container_name: mock_data
    ports:
         - 5434:5432/tcp
</code></pre>

<p>What is the eaasiest way to include the incoming queries in docker logs?</p>
