docs, keep track of logfile, pass server id as a param