refine the log level.