def METHOD_NAME(self):
    message_logger = logging.getLogger('messages')
    message_logger.setLevel(
        logging.DEBUG if self.verbose else logging.INFO)
    formatter = logging.Formatter(
        '[%(levelname)s] [%(asctime)s] %(message)s')
    std_handler = logging.StreamHandler()
    std_handler.setLevel(message_logger.level)
    std_handler.setFormatter(formatter)
    file_handler = logging.FileHandler(
        os.path.join(self.log_dir, self.LOG_FILE_NAME))
    file_handler.setLevel(message_logger.level)
    file_handler.setFormatter(formatter)
    message_logger.addHandler(std_handler)
    message_logger.addHandler(file_handler)
    return message_logger