Updated log overwrite statement