Skip to content

Commit bb525da

Browse files
committed
Add debug logging to the job_aggregate processor
Signed-off-by: Pedro Algarvio <[email protected]>
1 parent ff7bd5c commit bb525da

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

src/saf/process/job_aggregate.py

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,7 @@
77

88
import fnmatch
99
import logging
10+
import pprint
1011
from typing import TYPE_CHECKING
1112
from typing import AsyncIterator
1213
from typing import Dict
@@ -62,7 +63,9 @@ async def process(
6263
Aggregate received events, otherwise store in cache.
6364
"""
6465
if isinstance(event, EventBusCollectedEvent):
66+
log.debug("Event Bus Collected Event:\n%s", pprint.pformat(event.dict()))
6567
salt_event = event.salt_event
68+
log.debug("Event Bus Collected Salt Event:\n%s", pprint.pformat(salt_event))
6669
tag = salt_event.tag
6770
data = salt_event.data
6871
if "watched_jids" not in ctx.cache:

0 commit comments

Comments
 (0)