add processing to add log to taskqueue.