Added log debug messages