Sample code to test python tail on nginx access log