/bionic/libc/include/sys/ |
syslog.h | 1 #include <syslog.h>
|
/external/valgrind/none/tests/ |
syslog.c | 0 // syslog() needs a suppression on Mac OS X (bug 191192). This tests that. 3 #include <syslog.h> 7 syslog(LOG_USER|LOG_DEBUG, "valgrind/none/tests/syslog: test message");
|
/prebuilts/gcc/linux-x86/host/x86_64-linux-glibc2.15-4.8/sysroot/usr/include/ |
syslog.h | 1 #include <sys/syslog.h>
|
/external/python/cpython3/Lib/test/ |
test_syslog.py | 3 syslog = support.import_module("syslog") #skip if not supported variable 13 syslog.openlog('python') 15 self.assertRaises(UnicodeEncodeError, syslog.openlog, '\uD800') 18 syslog.openlog('python') 19 syslog.syslog('test message from python test_syslog') 20 syslog.syslog(syslog.LOG_ERR, 'test error from python test_syslog' [all...] |
/external/clang/test/CodeGen/ |
block-with-perdefinedexpr.c | 4 void syslog(const char *, ...); 11 handler( ^(){ syslog("%s", __FUNCTION__); } );
|
/external/ltp/testcases/kernel/syscalls/syslog/ |
syslogtst.c | 28 #include <syslog.h> 41 int exit_flag = 0; /* used for syslog test case 6. */ 91 * Send syslog messages according to the case number, which 96 syslog(LOG_MAIL | LOG_INFO, "syslogtst: mail info test."); 101 syslog(LOG_MAIL | LOG_EMERG, 105 syslog(LOG_MAIL | LOG_ALERT, 109 syslog(LOG_MAIL | LOG_CRIT, 113 syslog(LOG_MAIL | LOG_ERR, "syslogtst: mail err test."); 116 syslog(LOG_MAIL | LOG_WARNING, 120 syslog(LOG_MAIL | LOG_NOTICE [all...] |
syslog06 | 24 # with syslog-ng on SLES 37 . syslog-lib.sh || exit 1 41 tst_resm TINFO "syslog: Testing the log option: LOG_NDELAY..." 46 /etc/syslog.conf|/etc/rsyslog.conf) 51 /etc/syslog-ng/syslog-ng.conf) 54 echo "destination syslog-messages { file(\"/var/log/messages\");};" >> $CONFIG_FILE 55 echo "log { source(src); filter(f_syslog_user); destination(syslog-messages);};" >> $CONFIG_FILE
|
Makefile | 23 # Not all of the syslog* files are bourne shell scripts. 24 INSTALL_TARGETS := syslog0* syslog10 syslog-lib.sh
|
syslog01 | 23 # with syslog-ng 32 # syslog.conf should contain: # 34 # mail.info /usr/spool/adm/syslog # 37 . syslog-lib.sh || exit 1 46 /etc/syslog.conf|/etc/rsyslog.conf) 52 /etc/syslog-ng/syslog-ng.conf) 57 echo "# Added for syslog testcase" >> $CONFIG_FILE 60 echo "destination syslog-messages { file(\"/var/log/messages\");};" >> $CONFIG_FILE 61 echo "log { source(src); filter(f_syslog); destination(syslog-messages); };" >> $CONFIG_FIL [all...] |
syslog03 | 24 # with syslog-ng on SLES 30 # syslog.conf should contain: # 32 # daemon.info /usr/spool/adm/syslog # 35 . syslog-lib.sh || exit 1 41 /etc/syslog.conf|/etc/rsyslog.conf) 46 /etc/syslog-ng/syslog-ng.conf) 49 echo "# Added for syslog testcase" >> $CONFIG_FILE 51 echo "destination syslog-messages { file(\"/var/log/messages\");};" >> $CONFIG_FILE 52 echo "log { source(src); filter(f_syslog_daemon); destination(syslog-messages);};" >> $CONFIG_FIL [all...] |
syslog04 | 24 # with syslog-ng 33 . syslog-lib.sh || exit 1 41 /etc/syslog.conf|/etc/rsyslog.conf) 46 /etc/syslog-ng/syslog-ng.conf)
|
syslog05 | 24 # with syslog-ng 29 # o Disable /dev/syslog by moving it to a temporary file # 31 # o Send the syslog message. # 37 . syslog-lib.sh || exit 1 41 tst_resm TINFO "syslog: Testing the log option: LOG_CONS..." 46 /etc/syslog.conf|/etc/rsyslog.conf) 51 /etc/syslog-ng/syslog-ng.conf) 54 echo "destination syslog-messages { file(\"/var/log/messages\");};" >> $CONFIG_FILE 55 echo "log { source(src); filter(f_syslog_user); destination(syslog-messages);};" >> $CONFIG_FIL [all...] |
/external/vboot_reference/utility/ |
tpm_init_temp_fix.c | 22 #include <syslog.h> 43 syslog(pri, "TPM selftest failed with code 0x%x\n", result); 51 syslog(pri, "TPM assertpp failed with code 0x%x\n", result); 57 syslog(pri, "TPM getflags failed with code 0x%x\n", result); 64 syslog(pri, "TPM physical enable failed with code 0x%x\n", result); 72 syslog(pri, "TPM physical activate failed with code 0x%x\n", result);
|
/prebuilts/gcc/linux-x86/host/x86_64-linux-glibc2.15-4.8/sysroot/usr/include/i386-linux-gnu/bits/ |
syslog-ldbl.h | 1 /* -mlong-double-64 compatibility mode for syslog functions. 21 # error "Never include <bits/syslog-ldbl.h> directly; use <sys/syslog.h> instead." 24 __LDBL_REDIR_DECL (syslog)
|
syslog.h | 1 /* Checking macros for syslog functions. 21 # error "Never include <bits/syslog.h> directly; use <sys/syslog.h> instead." 30 syslog (int __pri, __const char *__fmt, ...) function 35 # define syslog(pri, ...) \ macro
|
/prebuilts/gcc/linux-x86/host/x86_64-linux-glibc2.15-4.8/sysroot/usr/include/x86_64-linux-gnu/bits/ |
syslog-ldbl.h | 1 /* -mlong-double-64 compatibility mode for syslog functions. 21 # error "Never include <bits/syslog-ldbl.h> directly; use <sys/syslog.h> instead." 24 __LDBL_REDIR_DECL (syslog)
|
/prebuilts/go/darwin-x86/src/log/syslog/ |
example_test.go | 12 "log/syslog" 16 sysLog, err := syslog.Dial("tcp", "localhost:1234", 17 syslog.LOG_WARNING|syslog.LOG_DAEMON, "demotag") 21 fmt.Fprintf(sysLog, "This is a daemon warning with demotag.") 22 sysLog.Emerg("And this is a daemon emergency with demotag.")
|
doc.go | 5 // Package syslog provides a simple interface to the system log 6 // service. It can send messages to the syslog daemon using UNIX 10 // the syslog client will attempt to reconnect to the server 13 // The syslog package is frozen and is not accepting new features. 16 // https://godoc.org/?q=syslog 17 package syslog package 20 // syslog package is frozen, Windows users are encouraged to
|
/prebuilts/go/linux-x86/src/log/syslog/ |
example_test.go | 12 "log/syslog" 16 sysLog, err := syslog.Dial("tcp", "localhost:1234", 17 syslog.LOG_WARNING|syslog.LOG_DAEMON, "demotag") 21 fmt.Fprintf(sysLog, "This is a daemon warning with demotag.") 22 sysLog.Emerg("And this is a daemon emergency with demotag.")
|
doc.go | 5 // Package syslog provides a simple interface to the system log 6 // service. It can send messages to the syslog daemon using UNIX 10 // the syslog client will attempt to reconnect to the server 13 // The syslog package is frozen and is not accepting new features. 16 // https://godoc.org/?q=syslog 17 package syslog package 20 // syslog package is frozen, Windows users are encouraged to
|
/external/adhd/cras/src/common/ |
cras_shm.c | 14 #include <syslog.h> 31 syslog(LOG_ERR, "failed to ashmem_create_region %s: %s\n", 43 syslog(LOG_ERR, 65 syslog(LOG_ERR, "failed to shm_open %s: %s\n", 72 syslog(LOG_ERR, "failed to set size of shm %s: %s\n", 85 syslog(LOG_ERR,
|
cras_metrics.c | 7 #include <syslog.h> 14 syslog(LOG_DEBUG, "Log event: %s", event);
|
/external/autotest/client/site_tests/platform_LogDupSuppression/ |
platform_LogDupSuppression.py | 5 import syslog 12 """Test that we suppress duplicate messages from one process to syslog""" 20 SYSLOG_JOB = 'syslog' 25 syslog.openlog('spam') 30 utils.run('chown syslog %s' % self.SPAM_LOG_PATH) 35 syslog.syslog(self.SPAM_MSG) 36 syslog.syslog(self.NON_SPAM_MSG)
|
/external/dhcpcd-6.8.2/dev/ |
udev.c | 38 #include <syslog.h> 83 syslog(LOG_ERR, "libudev: received NULL device"); 93 syslog(LOG_DEBUG, "%s: libudev: %s", ifname, action); 125 syslog(LOG_ERR, "udev: already started"); 129 syslog(LOG_DEBUG, "udev: starting"); 132 syslog(LOG_ERR, "udev_new: %m"); 137 syslog(LOG_ERR, "udev_monitor_new_from_netlink: %m"); 144 syslog(LOG_ERR, 150 syslog(LOG_ERR, "udev_monitor_enable_receiving: %m"); 155 syslog(LOG_ERR, "udev_monitor_get_fd: %m") [all...] |
/external/adhd/cras/src/server/ |
cras_device_monitor.c | 6 #include <syslog.h> 43 syslog(LOG_ERR, "Failed to send device message %d", 58 syslog(LOG_ERR, "Failed to send device message %d", 81 syslog(LOG_ERR, "trying to recover device 0x%x by resetting it", 90 syslog(LOG_ERR, "Unknown device message type %u",
|