/freebsd/usr.sbin/rtadvd/ |
H A D | control.c | 50 #include <syslog.h> 68 syslog(LOG_DEBUG, "<%s> enter, fd=%d", __func__, fd); in cm_recv() 85 syslog(LOG_ERR, "<%s> poll error: %s", in cm_recv() 93 syslog(LOG_DEBUG, in cm_recv() 102 syslog(LOG_WARNING, in cm_recv() 107 syslog(LOG_WARNING, in cm_recv() 112 syslog(LOG_WARNING, in cm_recv() 117 syslog(LOG_WARNING, in cm_recv() 122 syslog(LOG_DEBUG, in cm_recv() 129 syslog(LOG_DEBU in cm_recv() [all...] |
H A D | control_server.c | 49 #include <syslog.h> 110 syslog(LOG_DEBUG, "<%s> enter", __func__); in cm_getprop_echo() 121 syslog(LOG_DEBUG, "<%s> enter", __func__); in cm_getprop_version() 135 syslog(LOG_DEBUG, "<%s> enter", __func__); in cm_getprop_ifilist() 142 syslog(LOG_DEBUG, "<%s> len = %zu", __func__, len); in cm_getprop_ifilist() 152 syslog(LOG_DEBUG, "<%s> add ifname=%s(%d)", in cm_getprop_ifilist() 169 syslog(LOG_DEBUG, "<%s> enter", __func__); in cm_getprop_ifi() 176 syslog(LOG_ERR, "<%s> %s not found", __func__, in cm_getprop_ifi() 186 syslog(LOG_DEBUG, "<%s> len = %zu", __func__, len); in cm_getprop_ifi() 205 syslog(LOG_DEBU in cm_getprop_rai() [all...] |
H A D | rtadvd.c | 69 #include <syslog.h> 250 syslog(LOG_ERR, in main() 265 syslog(LOG_ERR, "cannot open control socket: %s", in main() 290 syslog(LOG_ERR, "cannot listen control socket: %s", in main() 305 syslog(LOG_INFO, in main() 308 syslog(LOG_INFO, in main() 321 syslog(LOG_DEBUG, in main() 327 syslog(LOG_DEBUG, in main() 337 syslog(LOG_ERR, "poll() failed: %s", in main() 354 syslog(LOG_ER in main() [all...] |
H A D | config.c | 53 #include <syslog.h> 98 syslog(LOG_DEBUG, "<%s> labelenc = %s", __func__, src); in dname_labelenc() 120 syslog(LOG_DEBUG, "<%s> labellen = %td", __func__, dst - dst_origin); in dname_labelenc() 146 syslog(LOG_DEBUG, "<%s> enter", __func__); in loadconfig_index() 159 syslog(LOG_DEBUG, "<%s> enter", __func__); in loadconfig_ifname() 169 syslog(LOG_INFO, in loadconfig_ifname() 177 syslog(LOG_ERR, in loadconfig_ifname() 184 syslog(LOG_ERR, in loadconfig_ifname() 201 syslog(LOG_ERR, "<%s>: ifinfo not found (idx=%d)", in rm_ifinfo_index() 214 syslog(LOG_DEBU in rm_ifinfo() [all...] |
H A D | if.c | 54 #include <syslog.h> 142 syslog(LOG_ERR, "<%s> unsupported link type(%d)", in lladdropt_fill() 176 syslog(LOG_WARNING, "<%s> rtm_msglen is 0 " in get_next_msg() 182 syslog(LOG_WARNING, in get_next_msg() 359 syslog(LOG_DEBUG, "<%s> new entry: %s", __func__, in update_persist_ifinfo() 372 syslog(LOG_DEBUG, "<%s> %s is marked PERSIST", __func__, in update_persist_ifinfo() 374 syslog(LOG_DEBUG, "<%s> %s is state = %d", __func__, in update_persist_ifinfo() 387 syslog(LOG_ERR, in update_ifinfo_nd_flags() 399 syslog(LOG_ERR, "<%s> ioctl() failed.", __func__); in update_ifinfo_nd_flags() 423 syslog(LOG_DEBU in update_ifinfo() [all...] |
/freebsd/contrib/sendmail/libsm/ |
H A D | syslogio.c | 15 #include <syslog.h> 25 ** This is a output file type that copies its output to the syslog daemon. 26 ** Each line of output is written as a separate syslog message. 28 ** any syslog file, and calling closelog() after all syslog output is complete. 29 ** The only state associated with a syslog file is 'int priority', 34 ** SM_SYSLOGOPEN -- open a file pointer to syslog 38 ** info -- priority level of the syslog messages 60 ** SM_SYSLOGREAD -- read function for syslog 63 ** It is an error to read syslog. 86 ** SM_SYSLOGWRITE -- write function for syslog [all …]
|
/freebsd/contrib/pf/tftp-proxy/ |
H A D | tftp-proxy.c | 45 #include <syslog.h> 100 syslog(LOG_ERR, "invalid -w value"); in main() 116 syslog(LOG_ERR, "no such user %s: %m", NOPRIV_USER); in main() 120 syslog(LOG_ERR, "chroot %s: %m", CHROOT_DIR); in main() 126 syslog(LOG_ERR, "can't revoke privs: %m"); in main() 132 syslog(LOG_ERR, "ioctl(FIONBIO): %m"); in main() 137 syslog(LOG_ERR, "setsockopt(IP_RECVDSTADDR): %m"); in main() 143 syslog(LOG_ERR, "getsockname: %m"); in main() 153 syslog(LOG_ERR, "recvfrom: %m"); in main() 168 syslog(LOG_ERR, "recvmsg: %m"); in main() [all …]
|
/freebsd/usr.sbin/daemon/ |
H A D | daemon.8 | 54 The output of the daemonized process may be redirected to syslog and to a 77 or syslog output, the standard file descriptors are first redirected to 79 then stdout and/or stderr is redirected to a file or to syslog as 92 .It Fl l , Fl -syslog-facility Ar syslog_facility 96 .Cm syslog , user , uucp , 111 This value specifies what is sent to syslog and the log file. 171 .It Fl S , Fl -syslog 172 Enable syslog output. 173 This is implicitly applied if other syslog parameters are provided. 176 .It Fl s , Fl -syslog-priority Ar syslog_priority [all …]
|
/freebsd/contrib/pf/authpf/ |
H A D | authpf.c | 44 #include <syslog.h> 106 syslog(LOG_ERR, "cannot open %s (%m)", PATH_CONFFILE); in main() 111 syslog(LOG_ERR, "non-interactive session connection for authpf"); in main() 116 syslog(LOG_ERR, "cannot determine connection source"); in main() 121 syslog(LOG_ERR, "SSH_CLIENT variable too long"); in main() 126 syslog(LOG_ERR, "corrupt SSH_CLIENT variable %s", ipsrc); in main() 132 syslog(LOG_ERR, in main() 139 syslog(LOG_ERR, "cannot open packet filter device (%m)"); in main() 146 syslog(LOG_ERR, "cannot find user for uid %u", uid); in main() 162 syslog(LOG_ER in main() [all...] |
/freebsd/sbin/nos-tun/ |
H A D | nos-tun.c | 76 #include <syslog.h> 99 syslog(LOG_ERR,"unknown host %s", addr); in Set_address() 117 syslog(LOG_ERR,"can't open %s - %m", dev_name); in tun_open() 132 syslog(LOG_ERR,"can't open socket - %m"); in tun_open() 145 syslog(LOG_ERR,"SIOCDIFADDR - %m"); in tun_open() 160 syslog(LOG_ERR,"bad destination address: %s",theiraddr); in tun_open() 166 syslog(LOG_ERR,"can't set interface address - %m"); in tun_open() 174 syslog(LOG_ERR,"can't get interface flags - %m"); in tun_open() 183 syslog(LOG_ERR,"can't set interface UP - %m"); in tun_open() 196 syslog(LOG_INFO,"exiting"); in Finish() [all …]
|
/freebsd/usr.sbin/bluetooth/hcsecd/ |
H A D | hcsecd.c | 43 #include <syslog.h> 145 syslog(LOG_ERR, "Could not create PID file %s. %s (%d)", in main() 163 syslog(LOG_ERR, "Could not receive from HCI socket. " \ in main() 169 syslog(LOG_ERR, "Received unexpected HCI packet, " \ in main() 191 syslog(LOG_ERR, "Received unexpected HCI event, " \ in main() 199 syslog(LOG_ERR, "Could not remove PID file %s. %s (%d)", in main() 217 syslog(LOG_DEBUG, "Got PIN_Code_Request event from '%s', " \ in process_pin_code_request_event() 222 syslog(LOG_DEBUG, "Found matching entry, " \ in process_pin_code_request_event() 231 syslog(LOG_DEBUG, "Could not PIN code for remote bdaddr %s", in process_pin_code_request_event() 244 syslog(LOG_DEBUG, "Got Link_Key_Request event from '%s', " \ in process_link_key_request_event() [all …]
|
/freebsd/usr.sbin/lpr/lpd/ |
H A D | lpd.c | 75 #include <syslog.h> 145 /* log all kinds of connection-errors to syslog */ in main() 169 syslog(LOG_WARNING, in main() 171 syslog(LOG_WARNING, in main() 235 * to syslog and leaving the user wondering why lpd started and in main() 269 syslog(LOG_INFO, "lpd startup: logging=%d%s%s", lflag, in main() 284 syslog(LOG_ERR, "%s: %m", _PATH_MASTERLOCK); in main() 295 syslog(LOG_ERR, "%s: %m", _PATH_MASTERLOCK); in main() 306 syslog(LOG_ERR, "socket: %m"); in main() 329 syslog(LOG_ERR, "ubind: %m"); in main() [all …]
|
/freebsd/contrib/ofed/infiniband-diags/src/ |
H A D | rdma-ndd.c | 46 #include <syslog.h> 131 syslog(LOG_ERR, "Failed to open %s\n", nd_file); in update_node_desc() 136 syslog(LOG_ERR, "Failed to read %s\n", nd_file); in update_node_desc() 145 syslog(LOG_INFO, "%s: no change (%s)\n", device, new_nd); in update_node_desc() 147 syslog(LOG_INFO, "%s: change (%s) -> (%s)\n", in update_node_desc() 170 syslog(LOG_INFO, "Failed to open %s", dev_dir); in set_rdma_node_desc() 180 syslog(LOG_ERR, "retrying set Node Description on %s\n", in set_rdma_node_desc() 199 syslog(LOG_ERR, "Read %s Failed\n", SYS_HOSTNAME); in read_hostname() 218 syslog(LOG_ERR, in process_opts() 228 syslog(LOG_ERR, in process_opts() [all …]
|
/freebsd/contrib/dma/ |
H A D | crypto.c | 45 #include <syslog.h> 57 syslog(LOG_ERR, "SSL: Cannot load certificate `%s': %s", path, ssl_errstr()); in init_cert_file() 64 syslog(LOG_ERR, "SSL: Cannot load private key `%s': %s", path, ssl_errstr()); in init_cert_file() 74 syslog(LOG_ERR, "SSL: Cannot check private key: %s", ssl_errstr()); in init_cert_file() 87 syslog(LOG_WARNING, "failed to load fingerprint of server certicate: %s", in verify_server_fingerprint() 92 syslog(LOG_WARNING, "sha256 fingerprint has unexpected length of %d bytes", in verify_server_fingerprint() 97 syslog(LOG_WARNING, "fingerprints do not match"); in verify_server_fingerprint() 100 syslog(LOG_DEBUG, "successfully verified server certificate fingerprint"); in verify_server_fingerprint() 129 syslog(LOG_WARNING, "remote delivery deferred: SSL init failed: %s", ssl_errstr()); in smtp_init_crypto() 137 syslog(LOG_WARNING, "remote delivery deferred"); in smtp_init_crypto() [all …]
|
H A D | local.c | 49 #include <syslog.h> 86 syslog(LOG_ERR, "cannot execute "LIBEXEC_PATH"/dma-mbox-create: %m"); in create_mbox() 98 syslog(LOG_ERR, "hung child while creating mbox `%s': %m", name); in create_mbox() 103 syslog(LOG_ERR, "child disappeared while creating mbox `%s': %m", name); in create_mbox() 108 syslog(LOG_ERR, "error creating mbox `%s'", name); in create_mbox() 118 syslog(LOG_ERR, "error creating mbox"); in create_mbox() 144 syslog(LOG_NOTICE, "local delivery deferred: %m"); in deliver_local() 167 syslog(LOG_ERR, "local delivery deferred: can not create `%s'", fn); in deliver_local() 174 syslog(LOG_NOTICE, "local delivery deferred: can not lock `%s'", fn); in deliver_local() 178 syslog(LOG_NOTICE, "local delivery deferred: can not open `%s': %m", fn); in deliver_local() [all …]
|
H A D | net.c | 58 #include <syslog.h> 291 syslog(LOG_NOTICE, "remote delivery deferred:" in smtp_login() 300 syslog(LOG_ERR, "can not encode auth reply: %m"); in smtp_login() 308 syslog(LOG_NOTICE, "remote delivery %s: AUTH login failed: %s", in smtp_login() 321 syslog(LOG_NOTICE, "remote delivery %s: Authentication failed: %s", in smtp_login() 326 syslog(LOG_WARNING, "non-encrypted SMTP login is disabled in config, so skipping it. "); in smtp_login() 339 syslog(LOG_INFO, "trying remote delivery to %s [%s] pref %d", in open_connection() 344 syslog(LOG_INFO, "socket for %s [%s] failed: %m", in open_connection() 350 syslog(LOG_INFO, "connect to %s [%s] failed: %m", in open_connection() 441 syslog(LOG_ERR, "Invalid line: %s\n", line); in perform_server_greeting() [all …]
|
/freebsd/usr.sbin/inetd/ |
H A D | inetd.c | 127 #include <syslog.h> 291 syslog(LOG_ERR, whine, arg); in getvalue() 382 syslog(LOG_ERR, in main() 406 syslog(LOG_ERR, "-a %s: %s", hostname, gai_strerror(error)); in main() 408 syslog(LOG_ERR, "%s", strerror(errno)); in main() 413 syslog(LOG_ERR, "-a %s: getaddrinfo failed", hostname); in main() 448 syslog(LOG_ERR, "-a %s: unknown address family", hostname); in main() 462 syslog(LOG_ERR, "Accessing %s: %m, continuing anyway.", CONFIG); in main() 469 syslog(LOG_ERR, "%s already running, pid: %d", in main() 473 syslog(LOG_WARNING, "pidfile_open() failed: %m"); in main() [all …]
|
/freebsd/libexec/pppoed/ |
H A D | pppoed.c | 59 #include <syslog.h> 268 syslog(LOG_ERR, "fork: %m"); in Spawn() 285 syslog(LOG_INFO, "Creating a new socket node"); in Spawn() 288 syslog(LOG_ERR, "Cannot create netgraph socket node: %m"); in Spawn() 297 syslog(LOG_INFO, "Sending CONNECT from .:%s -> %s.%s", in Spawn() 301 syslog(LOG_ERR, "Cannot CONNECT PPPoE and socket nodes: %m"); in Spawn() 310 syslog(LOG_INFO, "Sending NGM_SOCK_CMD_NOLINGER to socket"); in Spawn() 313 syslog(LOG_ERR, "Cannot send NGM_SOCK_CMD_NOLINGER: %m"); in Spawn() 328 syslog(LOG_INFO, "Offering to %s as access concentrator %s", in Spawn() 332 syslog(LOG_INFO, "%s: Cannot OFFER on netgraph node: %m", path); in Spawn() [all …]
|
/freebsd/usr.sbin/syslogd/tests/ |
H A D | syslogd_forwarded_format_test.sh | 13 # Two servers, one sending syslog messages to the other over UDP 36 # Send test syslog message 46 atf_set descr "bsd format test on a forwarded syslog message" 58 "PR 220246 syslog -O bsd deviates from RFC 3164 recommendations" 73 atf_set descr "rfc3164 format test on a forwarded syslog message" 85 "PR 220246 syslog -O rfc3164 deviates from RFC 3164 recommendations" 100 atf_set descr "rfc3164-strict format test on a forwarded syslog message" 125 atf_set descr "syslog format test on a forwarded syslog message" 130 local format="syslog" 150 atf_set descr "rfc5424 format test on a forwarded syslog message" [all …]
|
/freebsd/libexec/bootpd/ |
H A D | report.c | 3 * report() - calls syslog 9 #include <syslog.h> 38 #ifdef SYSLOG in report_init() 46 * This routine reports errors and such via stderr and syslog() if 47 * appopriate. It just helps avoid a lot of "#ifdef SYSLOG" constructs 50 * The syntax is identical to syslog(3), but %m is not considered special 53 * automatically generated for stderr output (whereas syslog strips out all 86 * Print a log message using syslog(3) and/or stderr. 109 #ifdef SYSLOG in report() 111 syslog((priority | LOG_BOOTP), "%s", buf); in report()
|
/freebsd/usr.sbin/bluetooth/bthidd/ |
H A D | parser.y | 51 #include <syslog.h> 52 #define SYSLOG syslog macro 58 #define SYSLOG fprintf 112 SYSLOG(LOGCRIT, "Could not allocate new " \ 164 SYSLOG(LOGCRIT, "Could not allocate new " \ 243 SYSLOG(LOGCRIT, "Could not use HID descriptor" EOL); 256 SYSLOG(LOGCRIT, "HID descriptor is too big" EOL); 275 SYSLOG(LOGERR, "%s in line %d" EOL, message, yylineno); 285 SYSLOG(LOGERR, "Unknown config file name!" EOL); in read_config_file() 290 SYSLOG(LOGERR, "Could not open config file '%s'. %s (%d)" EOL, in read_config_file() [all …]
|
/freebsd/usr.sbin/bluetooth/bcmfw/ |
H A D | bcmfw.c | 47 #include <syslog.h> 127 syslog(LOG_ERR, "Could not open(%s). %s (%d)", in bcmfw_check_device() 133 syslog(LOG_ERR, "Could not ioctl(%d, %ld, %p). %s (%d)", in bcmfw_check_device() 141 syslog(LOG_ERR, "Unsupported device, VendorID=%#x, " \ in bcmfw_check_device() 167 syslog(LOG_ERR, "Could not open(%s). %s (%d)", in bcmfw_load_firmware() 175 syslog(LOG_ERR, "Could not open(%s). %s (%d)", in bcmfw_load_firmware() 185 syslog(LOG_ERR, "Could not open(%s). %s (%d)", in bcmfw_load_firmware() 193 syslog(LOG_ERR, "Could not read(%s). %s (%d)", in bcmfw_load_firmware() 202 syslog(LOG_ERR, "Could not write(/dev/%s.%d). %s (%d)", in bcmfw_load_firmware() 219 syslog(LOG_ERR, "Could not write(/dev/%s.%d). %s (%d)", in bcmfw_load_firmware() [all …]
|
/freebsd/lib/libc/gen/ |
H A D | syslog.3 | 32 .Nm syslog , 43 .Fn syslog "int priority" "const char *message" "..." 56 .Fn syslog 124 .Fn syslog 145 .Fn syslog 244 .Fn syslog 261 .Fn syslog 271 syslog(LOG_ALERT, "who: internal error 23"); 277 syslog(LOG_INFO, "Connection from host %d", CallingHost); 279 syslog(LOG_ERR|LOG_LOCAL2, "foobar error: %m"); [all …]
|
/freebsd/usr.sbin/nfsd/ |
H A D | nfsd.c | 36 #include <sys/syslog.h> 452 syslog(LOG_ERR, "Can't open %s: %m\n", NFSD_STABLERESTART); in main() 464 syslog(LOG_ERR, "nfssvc stablerestart failed: " in main() 467 syslog(LOG_ERR, "nfssvc stablerestart failed"); in main() 469 syslog(LOG_ERR, "nfssvc stablerestart failed: is nfsd " in main() 472 syslog(LOG_ERR, "Can't read stable storage file: %m\n"); in main() 487 syslog(LOG_ERR, "fork: %m"); in main() 518 syslog(LOG_ERR, in main() 524 syslog(LOG_ERR, in main() 534 syslog(LOG_ERR, "can't Add UDP socket"); in main() [all …]
|
/freebsd/lib/libpam/modules/pam_radius/ |
H A D | pam_radius.c | 48 #include <syslog.h> 89 syslog(LOG_CRIT, "rad_create_request: %s", rad_strerror(radh)); in build_access_request() 107 syslog(LOG_CRIT, "rad_put_string: %s", rad_strerror(radh)); in build_access_request() 120 syslog(LOG_CRIT, "rad_put_addr: %s", in build_access_request() 128 syslog(LOG_CRIT, "rad_put_string: %s", rad_strerror(radh)); in build_access_request() 133 syslog(LOG_CRIT, "rad_put_attr: %s", rad_strerror(radh)); in build_access_request() 137 syslog(LOG_CRIT, "rad_put_int: %s", rad_strerror(radh)); in build_access_request() 172 syslog(LOG_CRIT, "rad_get_attr: %s", rad_strerror(radh)); in do_accept() 177 syslog(LOG_CRIT, "%s(): out of memory", __func__); in do_accept() 204 syslog(LOG_CRIT, "rad_get_attr: %s", rad_strerror(radh)); in do_reject() [all …]
|