allow log path to be configured