save log to sdcard