Again apologies for been noob here: Trying below code for searching multiple strings read from keywords and search in f and printing the line.
It works if I have on
#The Easiest one...
def strsearch():
fopen = open('logfile.txt',mode='r+')
fread = fopen.readlines()
x = 'Product Name'
y = 'Problem Description'
z = 'Resolution Summary'
for line in fread:
#print(line)
if x in line:
print(line)
if y in line:
print(line)
if z in line:
print(line)