log result code