Minor modification

LogUtil : if logs folder is not existing, then create the folder first.