Bug fix for self._log