Fix for logging bug

Change-Id: I0f73b7dfc56c7485596b3e128bb0fb78d05498b6