Remove unused logging code