Update tail.py

log change