removed unused logging method