import logging


def get_log_records(caplog):
    """Return api call log messages.

    Format of record tuples is (logger_name, log_level, message).
    """
    return [
        log[2]
        for log in caplog.record_tuples
        if log[0] == "bookings.ticketing_system" and log[1] == logging.INFO
    ]