Home
last modified time | relevance | path

Searched refs:syslog_priority (Results 1 – 7 of 7) sorted by relevance

/systemd-251/src/journal/
Djournald-kmsg.c101 …_cleanup_free_ char *message = NULL, *syslog_priority = NULL, *syslog_pid = NULL, *syslog_facility… in dev_kmsg_record() local
261 if (asprintf(&syslog_priority, "PRIORITY=%i", priority & LOG_PRIMASK) >= 0) in dev_kmsg_record()
262 iovec[n++] = IOVEC_MAKE_STRING(syslog_priority); in dev_kmsg_record()
Djournald-syslog.c316 char *t, syslog_priority[sizeof("PRIORITY=") + DECIMAL_STR_MAX(int)], in server_process_syslog_message() local
400 xsprintf(syslog_priority, "PRIORITY=%i", priority & LOG_PRIMASK); in server_process_syslog_message()
401 iovec[n++] = IOVEC_MAKE_STRING(syslog_priority); in server_process_syslog_message()
Djournald-stream.c252 char syslog_priority[] = "PRIORITY=\0"; in stdout_stream_log() local
301 syslog_priority[STRLEN("PRIORITY=")] = '0' + LOG_PRI(priority); in stdout_stream_log()
302 iovec[n++] = IOVEC_MAKE_STRING(syslog_priority); in stdout_stream_log()
/systemd-251/src/core/
Ddbus-execute.c1219 …Y("SyslogPriority", "i", bus_property_get_int, offsetof(ExecContext, syslog_priority), SD_BUS_VTAB…
1222 …"SyslogLevel", "i", property_get_syslog_level, offsetof(ExecContext, syslog_priority), SD_BUS_VTAB…
1223 …gFacility", "i", property_get_syslog_facility, offsetof(ExecContext, syslog_priority), SD_BUS_VTAB…
2263 c->syslog_priority = (c->syslog_priority & LOG_FACMASK) | level; in bus_exec_context_set_transient_property()
2280 c->syslog_priority = (facility << 3) | LOG_PRI(c->syslog_priority); in bus_exec_context_set_transient_property()
Dexecute.h282 int syslog_priority; member
Dload-fragment-gperf.gperf.in48 … 0, offsetof({{type}}, exec_context.syslog_priority)
49 … 0, offsetof({{type}}, exec_context.syslog_priority)
Dexecute.c368 context->syslog_priority, in connect_logger_as()
5305 c->syslog_priority = LOG_DAEMON|LOG_INFO; in exec_context_init()
5966 r = log_facility_unshifted_to_string_alloc(c->syslog_priority >> 3, &fac_str); in exec_context_dump()
5970 r = log_level_to_string_alloc(LOG_PRI(c->syslog_priority), &lvl_str); in exec_context_dump()