Skip to content

Commit

Permalink
Allow POSTGRESQL_LOG_DEBUG variable to be unset in PostgreSQL image (#…
Browse files Browse the repository at this point in the history
  • Loading branch information
mkuznyetsov committed Nov 7, 2018
1 parent b8576d9 commit c0626f8
Showing 1 changed file with 1 addition and 1 deletion.
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

0 comments on commit c0626f8

Please sign in to comment.