Log X errors in xlog file