Logarithmic operators in conformal field theory