Annotate logging calls with exception info

Change-Id: I436dfadcd3db098f6feaedc1297238bf419b54f0