fixed hardcoded path to log dir