am bfea6da7: Added logging for to debug bad events

* commit 'bfea6da707f8d352432096371e7da76c230d9059':
  Added logging for to debug bad events