Fixed #68
Advanced logging in poll