Searched defs:syslog (Results 1 - 11 of 11) sorted by relevance

/external/autotest/client/site_tests/platform_LogDupSuppression/
H A Dplatform_LogDupSuppression.py5 import syslog namespace
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/ltp/testcases/kernel/syscalls/syslog/
H A Dsyslog11.c23 * TEST TITLE : Basic tests for syslog(2)
34 * Verify that, syslog(2) is successful for type ranging from 1 to 8
96 #define syslog(arg1, arg2, arg3) syscall(__NR_syslog, arg1, arg2, arg3) macro
136 TEST(syslog(tdat[testno].type, tdat[testno].buf,
142 "syslog() passed for %s (non-root EPERM is OK)",
146 "syslog() failed for %s: errno "
151 tst_resm(TPASS, "syslog() successful for %s",
H A Dsyslog12.c23 * TEST TITLE : Checking error conditions for syslog(2)
35 * 1. syslog(2) fails with EINVAL for invalid type/command
36 * 2. syslog(2) fails with EFAULT for buffer outside program's accessible
38 * 3. syslog(2) fails with EINVAL for NULL buffer argument.
39 * 4. syslog(2) fails with EINVAL for length arg. set to negative value.
40 * 5. syslog(2) fails with EPERM for non-root user.
41 * 6. syslog(2) fails with EINVAL for console level less than 0.
42 * 7. syslog(2) fails with EINVAL for console level greater than 8.
108 #define syslog(arg1, arg2, arg3) syscall(__NR_syslog, arg1, arg2, arg3) macro
123 tst_resm(TWARN, "syslog() timeou
[all...]
/external/autotest/client/tools/
H A Dcrash_handler.py8 import sys, os, commands, glob, shutil, syslog, re, time, random, string namespace
120 syslog.syslog("Could not determine from which application core file %s "
177 syslog.syslog("Writing core files to %s" % dir_list)
186 syslog.openlog('AutotestCrashHandler', 0, syslog.LOG_DAEMON)
197 syslog.syslog("Unable to unpack parameters passed to the "
216 syslog
[all...]
/external/autotest/server/site_tests/autoupdate_EndToEndTest/
H A Dupdate_engine_performance_monitor.py13 import syslog namespace
153 """File-like object to log messages to syslog.
156 errors/backtraces to syslog.
164 syslog.openlog(ident, syslog.LOG_PID, syslog.LOG_DAEMON)
172 syslog.syslog(syslog.LOG_ERR, data)
204 # Send stderr to syslog
[all...]
/external/syslinux/gpxe/src/config/
H A Dconfig.c80 REQUIRE_OBJECT ( syslog ); variable
/external/selinux/python/semanage/
H A Dseobject.py54 import syslog namespace
174 syslog.syslog(syslog.LOG_INFO, message + l)
/external/autotest/server/hosts/
H A Dadb_host.py848 def syslog(self, message, tag='autotest'): member in class:ADBHost
849 """Logs a message to syslog on the device.
851 @param message String message to log into syslog
852 @param tag String tag prefix for syslog
H A Dcros_host.py1633 def syslog(self, message, tag='autotest'): member in class:CrosHost
1634 """Logs a message to syslog on host.
1636 @param message String message to log into syslog
1637 @param tag String tag prefix for syslog
/external/fio/os/windows/
H A Dposix.c392 log_file = CreateFileA("syslog.txt", GENERIC_WRITE, FILE_SHARE_READ | FILE_SHARE_WRITE, NULL, OPEN_ALWAYS, 0, NULL);
401 void syslog(int priority, const char *message, ... /* argument */) function
409 log_file = CreateFileA("syslog.txt", GENERIC_WRITE, FILE_SHARE_READ | FILE_SHARE_WRITE, NULL, OPEN_ALWAYS, 0, NULL);
413 log_err("syslog: failed to open log file\n");
/external/mdnsresponder/mDNSShared/
H A Ddnssd_clientstub.c62 static void syslog( int priority, const char * message, ...) function
85 #include <syslog.h>
138 uint32_t logcounter; // Counter used to control number of syslog messages we write
176 syslog(LOG_WARNING, "dnssd_clientstub write_all: SO_ISDEFUNCT failed %d %s", dnssd_errno, dnssd_strerror(dnssd_errno));
178 syslog(LOG_WARNING, "dnssd_clientstub write_all(%d) failed %ld/%ld %d %s", sd,
183 syslog(LOG_INFO, "dnssd_clientstub write_all(%d) DEFUNCT", sd);
185 syslog(LOG_WARNING, "dnssd_clientstub write_all(%d) failed %ld/%ld %d %s", sd,
211 if ((num_read < 0) && (errno == EINTR)) { syslog(LOG_INFO, "dnssd_clientstub read_all: EINTR continue"); continue; }
228 syslog(LOG_WARNING, "dnssd_clientstub read_all: SO_ISDEFUNCT failed %d %s", dnssd_errno, dnssd_strerror(dnssd_errno));
234 syslog(LOG_WARNIN
[all...]

Completed in 748 milliseconds