moved log handler to base task model