From 884708c29a124812517b8e9d71008e0f41ab2e53 Mon Sep 17 00:00:00 2001 From: Krzysztof Findeisen Date: Fri, 19 Jul 2024 17:15:15 -0700 Subject: [PATCH] Improve logging of APDB write. --- python/lsst/ap/association/diaPipe.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/python/lsst/ap/association/diaPipe.py b/python/lsst/ap/association/diaPipe.py index 0b1c97ae..beacde4d 100644 --- a/python/lsst/ap/association/diaPipe.py +++ b/python/lsst/ap/association/diaPipe.py @@ -569,7 +569,7 @@ def run(self, # Store DiaSources, updated DiaObjects, and DiaForcedSources in the # Apdb. - self.log.info(f"Updating {len(diaForcedSources)} diaForcedSources from the APDB") + self.log.info(f"Updating {len(diaForcedSources)} diaForcedSources in the APDB") diaForcedSources = convertTableToSdmSchema(self.schema, diaForcedSources, tableName="DiaForcedSource", ) @@ -582,6 +582,7 @@ def run(self, diaObjectStore, diaSourceStore, diaForcedSourceStore) + self.log.info("APDB updated.") if self.config.doPackageAlerts: if len(loaderResult.diaForcedSources) > 1: