Update log

Addressed issue with getLogPath() not always showing the correct directory.
Should work reliably now.
Added dependency for stringUtils