import re
filevar = raw_input("Enter Filename to scan: ")
print "\nScanning ", filevar
fileobj = open(filevar)
idexp = re.compile('^----------------------------------------(?!-).*?^\n', re.MULTILINE | re.DOTALL)
resultlist = idexp.findall(fileobj.read())
for item in resultlist:
print item
It will ask for a log file and output the id's contained. I might mess with it some more if anyone is interested in in scanning a directory and output the result to a file. Lore and the other might be trickier regexp's, but I'll see if I can work up a simple regexp for those as well.