def _log_enabled_protocols(self, flags, protocols):
enabled, disabled = [], []<EOL>for procol, flag in sorted(zip(protocols, flags)):<EOL><INDENT>if flag == '<STR_LIT:1>':<EOL><INDENT>enabled.append(procol)<EOL>status = '<STR_LIT>'<EOL><DEDENT>else:<EOL><INDENT>disabled.append(procol)<EOL>status = '<STR_LIT>'<EOL><DEDENT>message = "<STR_LIT>".format(procol, status)<EOL>self.log.info(message)<EOL><DEDENT>return enabled, disabled<EOL>
Given a list of single character strings of 1's and 0's and a list
        of protocol names. Log the status of each protocol where ``"1"`` is
        enabled and ``"0"`` is disabled. The order of the lists here is
        important as they need to be zipped together to create the mapping.
        Then return a tuple of two lists containing the names of the enabled
        and disabled protocols.

        :param character: A list of single character strings of 1's and 0's
        :type character: list

        :param protocols: A list of protocol names.
        :type protocols: list

        :return: Tuple containing two lists which contain n strings.
        :rtype: tuple