fixed wrong use of self.log

bugfix!