Cleanup log method