refine logging level