'Make the call to mongo host and pull the log data'

def _collectLogs(self, logConn):

    root = {}
    logEntries = []
    entries = logConn.admin.command({'getLog': 'global'})
    if ((not entries) or (not entries.get('log'))):
        self.lastLogEntries.clear()
        return root
    for logEntry in entries['log']:
        if (logEntry in self.lastLogEntries):
            continue
        logEntries.append(logEntry)
    if (len(logEntries) == 0):
        return root
    self.lastLogEntries.clear()
    for logEntry in entries['log']:
        self.lastLogEntries.add(logEntry)
    root['entries'] = logEntries
    return root
