Allow to place log file outside of project root

Hi @arohner!
I've noticed that there is an ability to specify path for the pidfile, but logfile is always stored in project root folder, so here is a fix for that :)