Create logpath using the path part of the LOGFILE

Should fix #135