Added better logging.

Signed-off-by: Kristian Duske <kristian.duske@gmail.com>