refine log level