check lseek return value in uwsgi_check_logrotate()
uwsgi_setup_log_master must always be called after logto(), this was not happening with --logto2
Merge pull request #586 from prymitive/logto2

uwsgi_setup_log_master must always be called after logto()
Merge pull request #587 from prymitive/lseek

check lseek return value in uwsgi_check_logrotate()