Cleaning up console logging