Fix for error in calling logger

Change-Id: I7fdb25099403770d76e4d7987572dc1c922a8353