Initialize passing parameters by referencing other classes

from Html_Base.api import logger as logging
class Mission:

__loggers = logging.Recording(logname="log-mission", loglevel=10).logger()

def __init__(self,logname="log-mission",log_level=30):
    print("---------------------- 111111111111111 ----------------------")
    Mission.__loggers.debug("test")

as above, another logger, in this script says that class initialization should be written outside _ _ init__ (whether or not all cases should be initialized outside init). How to replace the two parameters passed by logger with variables? initialize the logname and loglevel inside. I want to pass in

when executing class Mission.
Apr.13,2021
MySQL Query : SELECT * FROM `codeshelper`.`v9_news` WHERE status=99 AND catid='6' ORDER BY rand() LIMIT 5
MySQL Error : Disk full (/tmp/#sql-temptable-64f5-1b3f31f-2bcbf.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
MySQL Errno : 1021
Message : Disk full (/tmp/#sql-temptable-64f5-1b3f31f-2bcbf.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
Need Help?