def get_loggerplex_client(name, session_config):
    """
    Args:
        name: file name for the remote log file
        session_config: see session_config.loggerplex
    """
    C = session_config.loggerplex
    host = os.environ['SYMPH_LOGGERPLEX_HOST']
    port = os.environ['SYMPH_LOGGERPLEX_PORT']
    return LoggerplexClient(
        name,
        host=host,
        port=port,
        enable_local_logger=C.enable_local_logger,
        local_logger_stream='stdout',
        local_logger_level=C.local_logger_level,
        local_logger_time_format=C.local_logger_time_format,
    )

    Args:
        name: file name for the remote log file
        session_config: see session_config.loggerplex
    
surreal/session/tracker.py