Refine logging facility