@logger_file.setter<EOL><INDENT>def logger_file(self, value):<DEDENT>
self.__logger_file = value<EOL>if self.__logger_file:<EOL><INDENT>self.logger_file_handler = logging.FileHandler(self.__logger_file)<EOL>self.logger_file_handler.setFormatter(self.logger_formatter)<EOL>for _, logger in iteritems(self.logger):<EOL><INDENT>logger.addHandler(self.logger_file_handler)<EOL>if self.logger_stream_handler:<EOL><INDENT>logger.removeHandler(self.logger_stream_handler)<EOL><DEDENT><DEDENT><DEDENT>else:<EOL><INDENT>self.logger_stream_handler = logging.StreamHandler()<EOL>self.logger_stream_handler.setFormatter(self.logger_formatter)<EOL>for _, logger in iteritems(self.logger):<EOL><INDENT>logger.addHandler(self.logger_stream_handler)<EOL>if self.logger_file_handler:<EOL><INDENT>logger.removeHandler(self.logger_file_handler)<EOL><DEDENT><DEDENT><DEDENT>
Sets the logger_file.

If the logger_file is None, then add stream handler and remove file handler.
Otherwise, add file handler and remove stream handler.

:param value: The logger_file path.
:type: str