Added logging method to wattsup