update Logger to LogRecord
update Logger to LogRecord