Compare commits

..

No commits in common. "3f0bde1bf8441654d87d1c7802caa7a95ffdf5e0" and "5850844297b2d6dc7d068944581b1de15f53a96a" have entirely different histories.

3 changed files with 9 additions and 2 deletions

View File

@ -169,7 +169,7 @@ class UDSAddress(
# ?^TODO, for `multiaddr`'s parser we can't use the `::` # ?^TODO, for `multiaddr`'s parser we can't use the `::`
# above^, SO maybe a `.` or something else here? # above^, SO maybe a `.` or something else here?
# sockname: str = '.'.join(actor.uid) + f'@{pid}' # sockname: str = '.'.join(actor.uid) + f'@{pid}'
# -[ ] CURRENTLY using `.` BREAKS TEST SUITE tho.. # -[ ] CURRETLY using `.` BREAKS TEST SUITE tho..
else: else:
prefix: str = '<unknown-actor>' prefix: str = '<unknown-actor>'
if is_root_process(): if is_root_process():

View File

@ -416,6 +416,9 @@ def get_logger(
mod_ns_path: str = caller_mod.__name__ mod_ns_path: str = caller_mod.__name__
mod_pkg_ns_path: str = caller_mod.__package__ mod_pkg_ns_path: str = caller_mod.__package__
# if 'snakelib' in mod_pkg_ns_path:
# import pdbp
# breakpoint()
if ( if (
mod_pkg_ns_path in mod_ns_path mod_pkg_ns_path in mod_ns_path
or or
@ -488,6 +491,10 @@ def get_logger(
proper_name: str = name.removeprefix( proper_name: str = name.removeprefix(
f'{pkg_name}.' f'{pkg_name}.'
) )
# if 'pylib' in name:
# import pdbp
# breakpoint()
msg: str = ( msg: str = (
f'@ {get_caller_mod()}\n' f'@ {get_caller_mod()}\n'
f'Duplicate pkg-name in sub-logger `name`-key?\n' f'Duplicate pkg-name in sub-logger `name`-key?\n'

View File

@ -71,7 +71,7 @@ from outcome import (
Outcome, Outcome,
) )
log: StackLevelAdapter = get_logger() log: StackLevelAdapter = get_logger(__name__)
__all__ = [ __all__ = [