I'm trying to achieve a behavior available in log4j, which is described in this SO Q&A
Instead of the logger producing the following output (notice the full module name)
DEBUG aproject.bpackage.cclass:filename.py:79 log message 1
I'd like to only have the initials of the logger name:
DEBUG a.b.c:filename.py:79 log message 1
Trying to figure out the correct format string with the manual, but no mention of initials for the logger name
Note that loggers are initialized with the module name as convention:
logger = logging.getLogger(__name__)