logging, cleanup and saturation check