add in logging (bug 969149)