Revert "use whole log"

This could make the bot hang for a long time.

This reverts commit 46abf7294e94b7a540d83ea8512b40f35ecef620.