* refine logging