Revert "erase log"

This reverts commit 08a3893dc305e5ef153d241879b76689c9234c91.