add  path option for log file locatio, ad talked about in #1