it's tricky, because I don't want to read whole file (which could have GBs) and analyze where should I start. It's why I open the file and start at the end. True is, that logrotate destroys my effort....