add the pid of vim to the logfile