Changed the way we log