log more, get rid of db in single processing