Remove unused logging function