Made the error logfile configurable