update to support plain logging