save log to sdcard
base function complete.