updating to use logservice