def len_log(list1):
    longest_length = 0
    for word in list1:
        word_length = len(word)
        if word_length > longest_length:
            longest_length = word_length
    return longest_length