fix zk log bug
(cherry picked from commit 03549de189ee2c983de9651d818e22e75c2962a6)