Revert "Fix remove callback if no log"

This reverts commit 7b16e1b7062866bb721d39bfafd81a72b9d5e8c0.