Home
last modified time | relevance | path

Searched refs:LogTag (Results 1 – 2 of 2) sorted by relevance

/freebsd/lib/libc/gen/
H A Dsyslog.c65 static const char *LogTag = NULL; /* string to tag the entry with */ variable
204 if (LogTag == NULL) in vsyslog1()
205 LogTag = _getprogname(); in vsyslog1()
209 (void)fprintf(fp, "%.*s ", LogTagLength, LogTag); in vsyslog1()
211 (void)fprintf(fp, "%s ", LogTag == NULL ? NILVALUE : LogTag); in vsyslog1()
291 openlog_unlocked(LogTag, LogStat | LOG_NDELAY, 0); in vsyslog1()
408 LogTag = ident; in openlog_unlocked()
441 LogTag = NULL; in closelog()
473 if (LogTag == NULL || (LogStat & LOG_PID) != 0) in parse_tag()
482 if ((begin = strchr(LogTag, '[')) == NULL || begin == LogTag) in parse_tag()
[all …]
/freebsd/lib/libcasper/services/cap_syslog/
H A Dcap_syslog.c134 static char *LogTag; variable
156 free(LogTag); in slog_openlog()
157 LogTag = strdup(ident); in slog_openlog()
172 openlog(LogTag, logopt, nvlist_get_number(nvlin, "facility")); in slog_openlog()
182 free(LogTag); in slog_closelog()
183 LogTag = NULL; in slog_closelog()