add function "read_log"
releng for 0.17