remove log from factory map on shutdown