def findLogThreadByKey(cursor, threadKey):
    """ 
    ===========================================================================
    Find LogThread by key 
    =========================================================================== 
    
    **Args**:
        * cursor: cursor db connection
        * key (str): key of the node
    **Returns**:
        Tuple: ``(id, count, lastLogEventId, path1LogNodeId, path1Exectime, creation)``
    """    
    cursor.execute("SELECT id, count, lastLogEventId, path1LogNodeId, path1Exectime, creation FROM lmp_logThreadsT WHERE key = ? AND invalid = 0;", (threadKey, ) )
    return cursor.fetchone()