Logging related changes in memoized decorator

* Ignore exception when logging caller
* Don't log cached data (could cause problems if data is very
  large or is unexpectedly encoded.)

Change-Id: I9b031a2a1743eee5707471e154420259c9a8d38d
Merge "Logging related changes in memoized decorator"