add __init__ with self.log