basic db-backed task log