Worker writes log to DB after run