make log async
