Added ability to configure log path