changed log codes