save visits into a logfile