Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Allow POSTGRESQL_LOG_DEBUG variable to be unset in PostgreSQL image #11835

Merged
merged 5 commits into from Nov 7, 2018
2 changes: 1 addition & 1 deletion dockerfiles/postgres/init-debug.sh
Expand Up @@ -10,7 +10,7 @@
# Contributors:
# Red Hat, Inc. - initial API and implementation
#
if [ "${POSTGRESQL_LOG_DEBUG}" == "true" ]; then
if [ -n "${POSTGRESQL_LOG_DEBUG+set}" ] && [ "${POSTGRESQL_LOG_DEBUG}" == "true" ]; then
echo "POSTGRESQL_LOG_DEBUG is set, enabling additional logging configuration"

if [ ! -f /opt/app-root/src/postgresql-cfg/postgresql.log.debug.conf ]; then
Expand Down