Add log to debugging