Skip to content

Commit

Permalink
Log all queries by default in the container db
Browse files Browse the repository at this point in the history
  • Loading branch information
hkdobrev committed Jun 22, 2021
1 parent 38d9399 commit b28a762
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion scripts/start-dev-db.sh
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,9 @@ echo "echo stop & remove old docker [$SERVER] and starting new fresh instance of
docker run --name $SERVER -e POSTGRES_PASSWORD=$DATABASE_PASSWORD \
-e PGPASSWORD=$DATABASE_PASSWORD \
-p 5432:5432 \
-d postgres
-d postgres \
-c log_statement=all \
-c log_destination=stderr

# wait for pg to start
echo "sleep wait for pg-server [$SERVER] to start";
Expand Down

0 comments on commit b28a762

Please sign in to comment.