add logger appender
add useProtobuf
change for init