From 532e291e19d6a817fc14eefd2f9b97448186deba Mon Sep 17 00:00:00 2001 From: Geoffrey Mo <geoffrey.mo@ligo.org> Date: Wed, 12 Feb 2025 13:26:50 -0500 Subject: [PATCH] Change level of detchar data not found logs to warning --- gwcelery/tasks/detchar.py | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/gwcelery/tasks/detchar.py b/gwcelery/tasks/detchar.py index 98ea35f0f..1ca76a797 100644 --- a/gwcelery/tasks/detchar.py +++ b/gwcelery/tasks/detchar.py @@ -79,7 +79,7 @@ def create_cache(ifo, start, end): cache_endtime = cache_segment[1] except IndexError: - log.exception('Files do not exist in llhoft_glob') + log.warning('Files do not exist in llhoft_glob') return cache # returns empty cache if (cache_starttime <= start) and (end <= cache_endtime): @@ -96,7 +96,7 @@ def create_cache(ifo, start, end): low_latency = app.conf['low_latency_frame_types'][ifo] urls = find_urls(ifo[0], low_latency, start, end) if not urls: # required data not in low latency frames - log.error('This data cannot be found, or does not exist.') + log.warning('This data cannot be found, or does not exist.') return Cache.from_urls(urls) @@ -328,7 +328,7 @@ def check_idq(cache, channel, start, end): cache, channel, start=start, end=end) return (channel, float(idq_fap.min().value)) except (IndexError, RuntimeError, ValueError): - log.exception('Failed to read from low-latency iDQ frame files') + log.warning('Failed to read from low-latency iDQ frame files') # FIXME: figure out how to get access to low-latency frames outside # of the cluster. Until we figure that out, actual I/O errors have # to be non-fatal. @@ -382,7 +382,7 @@ def check_vector(cache, channel, start, end, bits, logic_type='all'): statevector = StateVector.read(cache, channel, start=start, end=end, bits=bits) except (IndexError, TypeError, ValueError): - log.exception('Failed to read from low-latency frame files') + log.warning('Failed to read from low-latency frame files') else: # FIXME: In the playground environment, the Virgo state vector # channel is stored as a float. Is this also the case in the -- GitLab