Insert log for debug