do not use rotating file handler, does not work with multiple processes
make sure WMTS url does not contain two slashes
add layer=baselayer to default filed_filter for shapefile export
improve checks for records types