How to redirect PostgreSQL logs to docker container stdout?

Viewed 1070

I have PostgreSQL run in Docker container. Сontainer stdout is storing for audit reasons by another department.

What I need, is to have PostgreSQL logs in container stdout. Now container stdout doesn't contain PostgreSQL logs.

Could you help me? How can I add PostgreSQL logs to container stdout?

Thank you.

0 Answers
Related