def METHOD_NAME(*, all_loggers_verbose: bool = False, verbose_loggers: Sequence[str] = ()) -> None:
    handlers: list[logging.Handler] = []
    log_file = _open_log_file()
    print(f"log file: {log_file.name}")
    file_handler = logging.StreamHandler(log_file)
    file_handler.setLevel(logging.DEBUG)
    file_handler.setFormatter(
        logging.Formatter("[%(asctime)s] %(name)s %(levelname)s: %(message)s")
    )
    handlers.append(file_handler)
    if sys.stderr is not None:
        # not running in pythonw.exe, can also show something in terminal
        print_handler = logging.StreamHandler(sys.stderr)
        if all_loggers_verbose:
            print_handler.setLevel(logging.DEBUG)
        elif not verbose_loggers:
            print_handler.setLevel(logging.WARNING)
        else:
            # Filter manually. It is possible to set verbosities for each logger,
            # but that would also affect what goes to the log file, not good.
            print_handler.setLevel(logging.DEBUG)
            print_handler.addFilter(
                lambda record: (
                    # Always show warnings and errors
                    record.levelno >= logging.WARNING
                    # If --verbose-loggers=foo is passed on command line, show all messages
                    # from loggers "foo", "foo.bar", "foo.bar.baz"
                    or record.name in verbose_loggers
                    or any(record.name.startswith(name + ".") for name in verbose_loggers)
                )
            )
        print_handler.setFormatter(logging.Formatter("%(name)s %(levelname)s: %(message)s"))
        handlers.append(print_handler)
    # don't know why level must be specified here
    logging.basicConfig(level=logging.DEBUG, handlers=handlers)
    porcupine_path = cast(Any, porcupine).__path__[0]
    log.debug(f"starting Porcupine {porcupine.__version__} from '{porcupine_path}'")
    log.debug(f"PID: {os.getpid()}")
    log.debug("running on Python %d.%d.%d from '%s'", *sys.version_info[:3], sys.executable)
    log.debug(f"sys.platform is {sys.platform!r}")
    if sys.platform != "win32":
        # lsb_release is a python script on ubuntu so running it takes
        # about 0.12 seconds on this system, i really want porcupine to
        # start as fast as possible
        _run_command("uname -a")
        threading.Thread(target=_run_command, args=["lsb_release -a"]).start()
    # don't fail to run if old logs can't be deleted for some reason
    try:
        _remove_old_logs()
    except OSError:
        log.exception("unexpected problem with removing old log files")