change timing of saving log in order to find activities of intruders easily