logging residue