Skip to content
Snippets Groups Projects

Change level of detchar data not found logs to warning

Merged Geoffrey Mo requested to merge geoffrey.mo/gwcelery:detchar-log-levels into main
1 file
+ 4
4
Compare changes
  • Side-by-side
  • Inline
+ 4
4
@@ -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
Loading