bug #2438230: add more logging for catching the bug.

- added some optimization for the single recipient case.
- more logging for creating new recipient id and thread id.

Change-Id: Idb46c550179afab5e00b62c53bd04ac77763797b
1 file changed