Python script to follow nginx error logs