Add pglog.min_messages GUC
Report write failures