Lines Matching refs:tag
89 char *tag, *host, buf[1024];
92 tag = NULL;
131 case 't': /* tag */
132 tag = optarg;
141 if (tag == NULL)
142 tag = getlogin();
145 openlog(tag, logflags, 0);
156 logmessage(pri, tag, host, svcname, buf);
160 logmessage(pri, tag, host, svcname, *argv++);
169 logmessage(pri, tag, host, svcname, buf);
172 logmessage(pri, tag, host, svcname, buf);
180 logmessage(int pri, const char *tag, const char *host, const char *svcname,
225 if ((len = asprintf(&line, "<%d>%s: %s", pri, tag, buf)) == -1)
292 "logger [-46Ais] [-f file] [-h host] [-P port] [-p pri] [-t tag]\n"