output message with log
add output duplicater for log