def METHOD_NAME():
    """
    Assert the logging of the bmp server.
    """
    def check_for_log_file():
        tgen = get_topogen()
        output = tgen.gears["bmp1"].run("ls /var/log/")
        if "bmp.log" not in output:
            return False
        return True
    success, _ = topotest.run_and_expect(check_for_log_file, True, wait=0.5)
    assert success, "The BMP server is not logging"