fix typo (should _log instead of self.log) that breaks regtest