Add a console log in `.tsp._history.manage_history()`
Set the passed down `loglevel`.shm_from_tractor
parent
0a2059d00f
commit
e7a867126b
|
|
@ -61,6 +61,7 @@ from piker.accounting import (
|
||||||
)
|
)
|
||||||
from piker.log import (
|
from piker.log import (
|
||||||
get_logger,
|
get_logger,
|
||||||
|
get_console_log,
|
||||||
)
|
)
|
||||||
from tractor.ipc._shm import ShmArray
|
from tractor.ipc._shm import ShmArray
|
||||||
from ..data._sharedmem import maybe_open_shm_array
|
from ..data._sharedmem import maybe_open_shm_array
|
||||||
|
|
@ -1386,6 +1387,10 @@ async def manage_history(
|
||||||
engages.
|
engages.
|
||||||
|
|
||||||
'''
|
'''
|
||||||
|
get_console_log(
|
||||||
|
name=__name__,
|
||||||
|
level=loglevel,
|
||||||
|
)
|
||||||
# TODO: is there a way to make each shm file key
|
# TODO: is there a way to make each shm file key
|
||||||
# actor-tree-discovery-addr unique so we avoid collisions
|
# actor-tree-discovery-addr unique so we avoid collisions
|
||||||
# when doing tests which also allocate shms for certain instruments
|
# when doing tests which also allocate shms for certain instruments
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue