From d5de76729dea703581be170643b2a6a8cac5f10d Mon Sep 17 00:00:00 2001 From: Chris Troutner Date: Mon, 9 May 2022 09:35:31 -0700 Subject: [PATCH] fix(production): Switching p2wdb to debug level 1 --- production/docker/docker-compose.yml | 1 + production/docker/p2wdb/start-production.sh | 3 ++- production/rpi-docker/docker-compose.yml | 1 + production/rpi-docker/p2wdb/start-production.sh | 3 ++- 4 files changed, 6 insertions(+), 2 deletions(-) diff --git a/production/docker/docker-compose.yml b/production/docker/docker-compose.yml index f6acb73..3e8a22e 100644 --- a/production/docker/docker-compose.yml +++ b/production/docker/docker-compose.yml @@ -50,6 +50,7 @@ services: container_name: p2wdb environment: CONSUMER_URL: 'https://free-bch.fullstack.cash' + DEBUG_LEVEL: 1 logging: driver: 'json-file' options: diff --git a/production/docker/p2wdb/start-production.sh b/production/docker/p2wdb/start-production.sh index 3e80c54..343cd66 100755 --- a/production/docker/p2wdb/start-production.sh +++ b/production/docker/p2wdb/start-production.sh @@ -16,7 +16,8 @@ export COORD_NAME=generic-p2wdb-production #export CR_DOMAIN=subdomain.yourdomain.com # Debug level. 0 = minimal info. 2 = max info. -export DEBUG_LEVEL=2 +# This value set by docker-compose.yml +#export DEBUG_LEVEL=1 # Log-in information for retrieving a JWT token from FullStack.cash. export FULLSTACKLOGIN=demo@demo.com diff --git a/production/rpi-docker/docker-compose.yml b/production/rpi-docker/docker-compose.yml index ec384d2..6cb5d62 100644 --- a/production/rpi-docker/docker-compose.yml +++ b/production/rpi-docker/docker-compose.yml @@ -51,6 +51,7 @@ services: container_name: p2wdb environment: CONSUMER_URL: 'https://free-bch.fullstack.cash' + DEBUG_LEVEL: 1 logging: driver: 'json-file' options: diff --git a/production/rpi-docker/p2wdb/start-production.sh b/production/rpi-docker/p2wdb/start-production.sh index 3e80c54..343cd66 100755 --- a/production/rpi-docker/p2wdb/start-production.sh +++ b/production/rpi-docker/p2wdb/start-production.sh @@ -16,7 +16,8 @@ export COORD_NAME=generic-p2wdb-production #export CR_DOMAIN=subdomain.yourdomain.com # Debug level. 0 = minimal info. 2 = max info. -export DEBUG_LEVEL=2 +# This value set by docker-compose.yml +#export DEBUG_LEVEL=1 # Log-in information for retrieving a JWT token from FullStack.cash. export FULLSTACKLOGIN=demo@demo.com