containers icon indicating copy to clipboard operation
containers copied to clipboard

Create synlink for other log files

Open cropalato opened this issue 10 months ago • 1 comments

Name and Version

bitnami/postgresql

What is the problem this feature will solve?

If someone changes the log type using the log_destination parameter, it should still write the logs in /dev/stdout (as you are doing for the standard log type).

What is the feature you are proposing to solve the problem?

Include the lines:

ln -sf /dev/stdout "$POSTGRESQL_LOG_DIR/postgresql.svc"
ln -sf /dev/stdout "$POSTGRESQL_LOG_DIR/postgresql.json"

into bitnami/postgresql/*/debian-12/rootfs/opt/bitnami/scripts/postgresql/postunpack.sh

cropalato avatar Apr 25 '24 21:04 cropalato

Thank you for bringing this issue to our attention. We appreciate your involvement! If you're interested in contributing a solution, we welcome you to create a pull request. The Bitnami team is excited to review your submission and offer feedback. You can find the contributing guidelines here.

Your contribution will greatly benefit the community. Feel free to reach out if you have any questions or need assistance.

carrodher avatar Apr 26 '24 05:04 carrodher