validating log DIRECTORY, need to set fopen to create