made log file location configurable