Adding log to debug