Removed the error if the log folder doesn't exist

Now checking if the log directory exists