changed logfile to ../logs