replaced blocking call to Await.result in AccessLog with async version using foreach