ChannelLogger: check for logChannelMessages before logging.