Added log for debugging