Fixed the bug and more logging messages for AckProcessor.