[Custom] Disable LOG and fix compile.