Searched refs:facility (Results 1 - 23 of 23) sorted by relevance

/illumos-gate/usr/src/lib/libast/common/comp/
H A Dopenlog.c38 openlog(const char* ident, int flags, int facility)
52 log.facility = facility;
H A Dcloselog.c45 log.facility = 0;
H A Dsyslog.c307 priority |= log.facility;
/illumos-gate/usr/src/cmd/pools/poold/com/sun/solaris/service/logging/
H A DSyslogHandler.java41 * given facility with a severity translated by Level with a fixed
55 * <code>syslog</code> facility to be logged to.
57 private Facility facility; field in class:SyslogHandler
97 private SyslogHandler(String ident, Facility facility) argument
99 if (ident == null || facility == null)
103 this.facility = facility;
105 openlog(ident, DEF_LOGOPT, facility.getNative());
112 * facility if necessary, unless an instance with a different
113 * identity or facility i
119 getInstance(String ident, Facility facility) argument
155 openlog(String ident, int logopt, int facility) argument
[all...]
H A DFacility.java32 * <code>syslog(3C)</code> facility levels defined in
127 * LOG_KERN <code>syslog(3C)</code> facility
132 * LOG_USER <code>syslog(3C)</code> facility
137 * LOG_MAIL <code>syslog(3C)</code> facility
142 * LOG_DAEMON <code>syslog(3C)</code> facility
148 * LOG_AUTH <code>syslog(3C)</code> facility
153 * LOG_SYSLOG <code>syslog(3C)</code> facility
159 * LOG_LPR <code>syslog(3C)</code> facility
164 * LOG_NEWS <code>syslog(3C)</code> facility
169 * LOG_UUCP <code>syslog(3C)</code> facility
229 private int facility; field in class:Facility
236 Facility(int facility, String string) argument
[all...]
/illumos-gate/usr/src/cmd/ldapcachemgr/
H A Dcachemgr_parse.c46 cachemgr_set_integer(int *addr, char *facility, char *cachename, argument
52 facility, cachename, value, min, max);
59 strcmp(facility, "Debug level") == 0)
61 facility, cachename, value);
/illumos-gate/usr/src/lib/fm/topo/maps/Joyent,Joyent-Compute-Platform-1101/
H A DJoyent-Compute-Platform-1101-disk-hc-topology.xmlgenksh40 <facility name='fail' type='indicator' provider='fac_prov_mptsas' >
41 <propgroup name='facility' version='1' name-stability='Private'
48 </facility>
49 <facility name='ident' type='indicator' provider='fac_prov_mptsas' >
50 <propgroup name='facility' version='1' name-stability='Private'
57 </facility>
58 <facility name='ok2rm' type='indicator' provider='fac_prov_mptsas' >
59 <propgroup name='facility' version='1' name-stability='Private'
66 </facility>
/illumos-gate/usr/src/cmd/tcpd/
H A Dfakelog.c20 openlog(name, logopt, facility)
23 int facility;
/illumos-gate/usr/src/lib/libldap5/sources/ldap/util/
H A Dlog.c63 ldaploginit(char *name, int facility) argument
65 openlog(name, OPENLOG_OPTIONS, facility);
71 ldaploginitlevel(char *name, int facility, int level) argument
73 ldaploginit(name, facility);
78 sundsloginit(char *name, int facility, int debug_level, int syslog_level) argument
88 openlog(returnCtx->logfile, OPENLOG_OPTIONS, facility);
/illumos-gate/usr/src/lib/fm/topo/maps/SUNW,Sun-Fire-X4500/
H A DSun-Fire-X4500-disk-hc-topology.xmlgen80 <facility name='locate' type='indicator' provider='fac_prov_ipmi' >
81 <propgroup name='facility' version='1' name-stability='Private'
96 </facility>
97 <facility name='ok2rm' type='indicator' provider='fac_prov_ipmi' >
98 <propgroup name='facility' version='1' name-stability='Private'
113 </facility>
114 <facility name='service' type='indicator' provider='fac_prov_ipmi' >
115 <propgroup name='facility' version='1' name-stability='Private'
130 </facility>
131 <facility nam
[all...]
/illumos-gate/usr/src/lib/fm/topo/maps/SUNW,Sun-Fire-X4540/
H A DSun-Fire-X4540-disk-hc-topology.xmlgen80 <facility name='locate' type='indicator' provider='fac_prov_ipmi' >
81 <propgroup name='facility' version='1' name-stability='Private'
97 </facility>
98 <facility name='ok2rm' type='indicator' provider='fac_prov_ipmi' >
99 <propgroup name='facility' version='1' name-stability='Private'
117 </facility>
118 <facility name='service' type='indicator' provider='fac_prov_ipmi' >
119 <propgroup name='facility' version='1' name-stability='Private'
137 </facility>
/illumos-gate/usr/src/lib/libresolv2/common/isc/
H A Dlogging_p.h32 int facility; member in union:log_output
H A Dlogging.c375 syslog(chan->out.facility|syslog_priority[pri],
580 log_new_syslog_channel(unsigned int flags, int level, int facility) { argument
591 chan->out.facility = facility;
/illumos-gate/usr/src/lib/libldap5/include/ldap/
H A Dlog.h43 int facility);
45 int facility,
/illumos-gate/usr/src/cmd/pools/poold/libjsyslog/
H A Djsyslog.c80 jclass clazz, jstring identObj, jint logopt, jint facility)
99 openlog(jsyslog_ident, logopt, facility);
79 Java_com_sun_solaris_service_logging_SyslogHandler_openlog(JNIEnv *env, jclass clazz, jstring identObj, jint logopt, jint facility) argument
/illumos-gate/usr/src/lib/libbsm/common/
H A Daudit_plugin.c57 * different severity, facility code, and application names.
62 * Assumption: the app_name and facility code are paired, i.e.,
63 * if the facility code for this call is the same as for the
67 __audit_syslog(const char *app_name, int flags, int facility, int severity, argument
77 if (prev_facility != facility) {
80 openlog(app_name, flags, facility);
/illumos-gate/usr/src/uts/common/os/
H A Dlogsubr.c556 off_t facility = 0; local
600 facility = dst - src;
601 body = facility + 23; /* strlen("FACILITY_AND_PRIORITY] ") */
651 if (facility != 0) {
653 dst = src + facility;
/illumos-gate/usr/src/cmd/fm/modules/common/syslog-msgs/
H A Dsyslog.c57 static const struct facility { struct
317 { "facility", FMD_TYPE_STRING, "LOG_DAEMON" },
340 const struct facility *fp;
367 * Look up the value of the "facility" property and use it to determine
368 * what syslog LOG_* facility value we use to fill in our log_ctl_t.
371 facname = fmd_prop_get_string(hdl, "facility");
379 fmd_hdl_abort(hdl, "invalid 'facility' setting: %s\n", facname);
/illumos-gate/usr/src/lib/krb5/kadm5/srv/
H A Dlogger.c133 * SYSLOG[=<severity>[:<facility>]]
150 * <facility> is one of: (default = AUTH)
760 * If there is a facility present, then parse that.
1219 * Return a string representation of "facility"
1221 static const char * facility2string(int facility) {
1222 switch (facility) {
1218 facility2string(int facility) argument
/illumos-gate/usr/src/lib/libpam/
H A Dpam_framework.c105 static int log_priority; /* pam_trace syslog priority & facility */
161 * "log_facility=" 0-23, the pam_trace syslog facility to use
197 int facility = LOG_AUTH; local
212 facility = code << 3;
220 log_priority |= facility;
/illumos-gate/usr/src/cmd/ipf/tools/
H A Dipf_y.y104 %type <num> facility priority icmpcode seclevel secname icmptype
1447 | facility '.' priority { fr->fr_loglevel = $1 | $3; }
1450 facility: label
/illumos-gate/usr/src/cmd/fm/modules/sun4v/etm/
H A Detm.c237 static int syslog_facility; /* log(7D) facility (part of priority) */
243 static const struct facility { struct
3683 const struct facility *fp; /* syslog facility matching */
3684 char *facname; /* syslog facility property */
3832 * Look up the value of the "facility" property and
3833 * use it to determine * what syslog LOG_* facility
3845 fmd_hdl_error(hdl, "error: invalid 'facility'"
/illumos-gate/usr/src/uts/common/io/cxgbe/firmware/
H A Dt4fw_interface.h6657 __u8 facility; member in struct:fw_devlog_e

Completed in 293 milliseconds