correctly expand user's home variable, if present, in logfile path
made errors in filelist comma separated (better for parsing)