Skip to content

Commit

Permalink
Merge pull request #168 from lsst-ts/tickets/DM-47890
Browse files Browse the repository at this point in the history
  • Loading branch information
edennihy authored Dec 17, 2024
2 parents dd41a64 + aada3d2 commit 7c92106
Show file tree
Hide file tree
Showing 4 changed files with 3 additions and 4 deletions.
1 change: 1 addition & 0 deletions doc/news/DM-47890.feature.1.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
Move make_love_stress_tests received messages log from debug to info level.
1 change: 1 addition & 0 deletions doc/news/DM-47890.feature.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
Update BaseMakeCalibrations.callpipetask to remove a call to ack.print_vars.
3 changes: 0 additions & 3 deletions python/lsst/ts/externalscripts/base_make_calibrations.py
Original file line number Diff line number Diff line change
Expand Up @@ -1002,15 +1002,12 @@ async def verify_calib(self, image_type, job_id_calib):
f"Received acknowledgement of ocps command for {image_type} verification."
)

ack.print_vars()
job_id_verify = json.loads(ack.result)["job_id"]

ack = await self.ocps.cmd_execute.next_ackcmd(ack)
self.log.debug(
f"Received command completion acknowledgement from ocps ({image_type})"
)
if ack.ack != salobj.SalRetCode.CMD_COMPLETE:
ack.print_vars()

while True:
msg = await self.ocps.evt_job_result.next(
Expand Down
2 changes: 1 addition & 1 deletion python/lsst/ts/externalscripts/make_love_stress_tests.py
Original file line number Diff line number Diff line change
Expand Up @@ -224,7 +224,7 @@ async def run(self):
await asyncio.sleep(self.loop_time_message_collection)
for client in self.clients:
msg_count += len(client.msg_traces)
self.log.debug(
self.log.info(
f"Received {msg_count}/{self.config.number_of_messages} messages"
)
self.log.info(
Expand Down

0 comments on commit 7c92106

Please sign in to comment.