Check if logger exists before adding a processor