Add publish debug logs.