Added a primitive log cleaner