Directory API : allow to set data, config and download paths from factory. Keep fallback on old computation if paths are not set by the application
Update log file only if enabled to avoid unwanted file creation. A workaround before this fix is to set prefix before path.