def METHOD_NAME(wait_for_record):
    load('empty')
    def check_format(format, expect, url='/'):
        set_format(format)
        assert client.get(url=url)['status'] == 200
        assert wait_for_record(expect, 'access.log') is not None, 'found'
    format = 'BLAH\t0123456789'
    check_format(format, format)
    check_format('$uri $status $uri $status', '/ 200 / 200')