From e0286792260bf22bf85eb31f50d68e350800e220 Mon Sep 17 00:00:00 2001 From: stdavis Date: Mon, 7 Oct 2024 10:22:07 -0600 Subject: [PATCH] fix(palletjack): add logs --- src/palletjack/src/roadkill/main.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/palletjack/src/roadkill/main.py b/src/palletjack/src/roadkill/main.py index 1cc07120..25c9a96c 100644 --- a/src/palletjack/src/roadkill/main.py +++ b/src/palletjack/src/roadkill/main.py @@ -185,6 +185,7 @@ def process(): skid_supervisor = _initialize(log_path, secrets.SENDGRID_API_KEY) module_logger = logging.getLogger(config.SKID_NAME) + module_logger.info("initializing AGOL connection...") gis = arcgis.gis.GIS( username=secrets.AGOL_USER, password=secrets.AGOL_PASSWORD, @@ -198,6 +199,7 @@ def process(): except AttributeError: port = 5432 + module_logger.info("initializing Postgres connection...") loader = extract.PostgresLoader( secrets.HOST, secrets.DATABASE,