my($path) = $logfilepath; $path =~ s/$ref_srv/$server/i;