save state when clearing logs

Created by  Kartik K. Agaram  on December 5, 2022
OZDS3NLL4DJUTUIG74ROQ4G7JGN4JO4WA2JZPXPKGIDKGHLRBRDAC
Change contents