<filename>Chapter14/simple_log1.py
f=open('/var/log/kern.log','r')

lines = f.readlines()
for line in lines:
	kern_log = line.split()[1:3]
	print(kern_log)


<filename>Chapter14/simple_log1.py
f=open('/var/log/kern.log','r')

lines = f.readlines()
for line in lines:
	kern_log = line.split()[1:3]
	print(kern_log)

