Log writing to external storage