From cb7266235009313b6efaf9d7c2ced840d568bb1f Mon Sep 17 00:00:00 2001 From: Tyler Goodlet Date: Thu, 15 Oct 2020 15:07:56 -0400 Subject: [PATCH] Add warnings for shm cache misses --- piker/data/_sharedmem.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/piker/data/_sharedmem.py b/piker/data/_sharedmem.py index 96526206..c256da31 100644 --- a/piker/data/_sharedmem.py +++ b/piker/data/_sharedmem.py @@ -323,13 +323,13 @@ def maybe_open_shm_array( token = _known_tokens[key] return attach_shm_array(token=token, **kwargs), False except KeyError: - log.debug(f"Could not find {key} in shms cache") + log.warning(f"Could not find {key} in shms cache") if dtype: token = _make_token(key, dtype) try: return attach_shm_array(token=token, **kwargs), False except FileNotFoundError: - log.debug(f"Could not attach to shm with token {token}") + log.warning(f"Could not attach to shm with token {token}") # This actor does not know about memory # associated with the provided "key".