We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 021719c commit b268612Copy full SHA for b268612
settings.py
@@ -66,6 +66,7 @@
66
# pylint: disable-all
67
68
import json
69
+import logging
70
71
import boto3
72
@@ -89,6 +90,9 @@ def check_for_pointer_file(S3_APP_BUCKET, S3_APP_KEY):
89
90
def construct_db_config(S3_APP_BUCKET, S3_KEY, DB_DATA):
91
s3 = boto3.client("s3")
92
93
+ print(f'connecting with bucket: "{S3_APP_BUCKET}", key: "{S3_KEY}"')
94
+ logging.info(f'connecting with bucket: "{S3_APP_BUCKET}", key: "{S3_KEY}"')
95
+
96
cfg = s3.get_object(Bucket=S3_APP_BUCKET, Key=S3_KEY)
97
98
config = json.loads(cfg["Body"].read().decode("utf-8"))
0 commit comments