Added some logging.

Signed-off-by: mandekisd <mandekisd@gmail.com>