def reinitLoggingDir():
 if (gLoggingInitialized and ('NTA_LOG_DIR' in os.environ)):
  makeDirectoryFromAbsolutePath(os.path.dirname(_genLoggingFilePath()))

def reinitLoggingDir ( ) : if ( gLoggingInitialized and ( 'NTA_LOG_DIR' in os . environ ) ) : makeDirectoryFromAbsolutePath ( os . path . dirname ( _genLoggingFilePath ( ) ) )
initialize the loging directory for the calling application that uses initlogging() for logging configuration note: its typially unnecessary to call this function directly since initlogging takes care of it for you .