Ack log message only if processed successfully.

Otherwise messages are dropped on the floor when they can't be
processed.