also creating relative log file directory if it does not exist