test to retrieve log