When debugging problems with input methods, I had to use logging several times. Now suggesting a patch to incorporate it into trunk.
Created attachment 15653 [details] proposed patch
<rdar://problem/5364667>
Committed revision 24668.