Try this.
urls = re.findall(r'href=[\'"]?([^\'" >]+\.log)', line)
Strictly speaking, this should be anchored to the end of the href attribute. If you are concerned about false positives, maybe add something like [\'">]
before the closing quote.