rm old log before scan