Make client-side log submission/restoration work.