Skip to content
Snippets Groups Projects
Commit 54fae726 authored by Jameson Rollins's avatar Jameson Rollins
Browse files

search: log search channel

parent 0606b55d
No related branches found
Tags 0.27.3
No related merge requests found
......@@ -63,15 +63,15 @@ def search_iterate(segment=None, event_callback=None, stat_file=None):
"""Iterative search for events (NDS-only)
"""
channel = config.GRD_STATE_N_CHANNEL
if segment:
logger.info("searching segment {}...".format(segment))
logger.info(f"searching channel {channel} segment {segment}...")
else:
logger.info("searching online...")
logger.info(f"searching channel {channel} online...")
previous = None
nevents = 0
nbufs = 0
progress = None
channel = config.GRD_STATE_N_CHANNEL
for bufs in data.nds_iterate([channel], start_end=segment):
buf = bufs[0]
if previous is None:
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment