test to retrieve and format the logs