Slightly different way of doing the logs