Changeset View
Changeset View
Standalone View
Standalone View
sys/sys/syslog.h
Show All 31 Lines | |||||
* $FreeBSD$ | * $FreeBSD$ | ||||
*/ | */ | ||||
#ifndef _SYS_SYSLOG_H_ | #ifndef _SYS_SYSLOG_H_ | ||||
#define _SYS_SYSLOG_H_ | #define _SYS_SYSLOG_H_ | ||||
#define _PATH_LOG "/var/run/log" | #define _PATH_LOG "/var/run/log" | ||||
#define _PATH_LOG_PRIV "/var/run/logpriv" | #define _PATH_LOG_PRIV "/var/run/logpriv" | ||||
#define _PATH_OLDLOG "/dev/log" /* backward compatibility */ | |||||
/* | /* | ||||
* priorities/facilities are encoded into a single 32-bit quantity, where the | * priorities/facilities are encoded into a single 32-bit quantity, where the | ||||
* bottom 3 bits are the priority (0-7) and the top 28 bits are the facility | * bottom 3 bits are the priority (0-7) and the top 28 bits are the facility | ||||
* (0-big number). Both the priorities and the facilities map roughly | * (0-big number). Both the priorities and the facilities map roughly | ||||
* one-to-one to strings in the syslogd(8) source code. This mapping is | * one-to-one to strings in the syslogd(8) source code. This mapping is | ||||
* included in this file. | * included in this file. | ||||
* | * | ||||
▲ Show 20 Lines • Show All 157 Lines • Show Last 20 Lines |