Home
last modified time | relevance | path

Searched refs:syslog (Results 1 – 25 of 392) sorted by relevance

12345678910>>...16

/external/python/cpython3/Lib/test/
Dtest_syslog.py3 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')
23 syslog.openlog('python')
24 syslog.closelog()
27 syslog.setlogmask(syslog.LOG_DEBUG)
30 syslog.LOG_MASK(syslog.LOG_INFO)
[all …]
/external/ltp/testcases/kernel/syscalls/syslog/
Dsyslogtst.c96 syslog(LOG_MAIL | LOG_INFO, "syslogtst: mail info test."); in main()
101 syslog(LOG_MAIL | LOG_EMERG, in main()
105 syslog(LOG_MAIL | LOG_ALERT, in main()
109 syslog(LOG_MAIL | LOG_CRIT, in main()
113 syslog(LOG_MAIL | LOG_ERR, "syslogtst: mail err test."); in main()
116 syslog(LOG_MAIL | LOG_WARNING, in main()
120 syslog(LOG_MAIL | LOG_NOTICE, in main()
124 syslog(LOG_MAIL | LOG_INFO, in main()
128 syslog(LOG_MAIL | LOG_DEBUG, in main()
136 syslog(LOG_DAEMON | LOG_INFO, "syslogtst: daemon info test."); in main()
[all …]
Dsyslog0637 . syslog-lib.sh || exit 1
46 /etc/syslog.conf|/etc/rsyslog.conf)
51 /etc/syslog-ng/syslog-ng.conf)
/external/adhd/cras/src/server/config/
Daec_config.c37 syslog(LOG_DEBUG, "No ini file %s", ini_name); in aec_config_get()
301 syslog(LOG_ERR, "---- aec config dump ----"); in aec_config_dump()
302 syslog(LOG_ERR, "Delay:"); in aec_config_dump()
303 syslog(LOG_ERR, " default_delay %zu sampling_factor %zu num_filters %zu", in aec_config_dump()
307 syslog(LOG_ERR, " api_call_jitter_blocks %zu, min_echo_path_delay_blocks %zu", in aec_config_dump()
310 syslog(LOG_ERR, " delay_headroom_blocks %zu, hysteresis_limit_1_blocks %zu", in aec_config_dump()
313 syslog(LOG_ERR, " hysteresis_limit_2_blocks %zu, skew_hysteresis_blocks %zu", in aec_config_dump()
316 syslog(LOG_ERR, " fixed_capture_delay_samples %zu", in aec_config_dump()
319 syslog(LOG_ERR, "Filter main configuration:"); in aec_config_dump()
320 syslog(LOG_ERR, " length_blocks %zu, leakage_converged %f, leakage_diverged %f", in aec_config_dump()
[all …]
Dapm_config.c36 syslog(LOG_DEBUG, "No ini file %s", ini_name); in apm_config_get()
71 syslog(LOG_ERR, "---- apm config dump ----"); in apm_config_dump()
72 syslog(LOG_ERR, "residual_echo_detector_enabled %u", in apm_config_dump()
74 syslog(LOG_ERR, "high_pass_filter_enabled %u", in apm_config_dump()
76 syslog(LOG_ERR, "pre_amplifier_enabled %u", in apm_config_dump()
78 syslog(LOG_ERR, "pre_amplifier_fixed_gain_factor %f", in apm_config_dump()
80 syslog(LOG_ERR, "gain_controller2_enabled %u", in apm_config_dump()
82 syslog(LOG_ERR, "gain_controller2_fixed_gain_db %f", in apm_config_dump()
84 syslog(LOG_ERR, "gain_controller2_adaptive_digital_mode %d", in apm_config_dump()
86 syslog(LOG_ERR, "gain_control_compression_gain_db %u", in apm_config_dump()
[all …]
/external/python/cpython2/Doc/library/
Dsyslog.rst1 :mod:`syslog` --- Unix syslog library routines
4 .. module:: syslog
6 :synopsis: An interface to the Unix syslog library routines.
9 This module provides an interface to the Unix ``syslog`` library routines.
10 Refer to the Unix manual pages for a detailed description of the ``syslog``
13 This module wraps the system ``syslog`` family of routines. A pure Python
14 library that can speak to a syslog server is available in the
20 .. function:: syslog(message)
21 syslog(priority, message)
30 If :func:`openlog` has not been called prior to the call to :func:`syslog`,
[all …]
/external/python/cpython3/Doc/library/
Dsyslog.rst1 :mod:`syslog` --- Unix syslog library routines
4 .. module:: syslog
6 :synopsis: An interface to the Unix syslog library routines.
10 This module provides an interface to the Unix ``syslog`` library routines.
11 Refer to the Unix manual pages for a detailed description of the ``syslog``
14 This module wraps the system ``syslog`` family of routines. A pure Python
15 library that can speak to a syslog server is available in the
21 .. function:: syslog(message)
22 syslog(priority, message)
31 If :func:`openlog` has not been called prior to the call to :func:`syslog`,
[all …]
/external/adhd/cras/src/server/
Dcras_alsa_helpers.c274 syslog(LOG_ERR, "Fail to get avail frames: %s", in cras_alsa_resume_appl_ptr()
283 syslog(LOG_ERR, "Fail to get buffer size: %s", in cras_alsa_resume_appl_ptr()
298 syslog(LOG_ERR, "Fail to resume appl_ptr: %s", in cras_alsa_resume_appl_ptr()
317 syslog(LOG_WARNING, "No chmap queried! Skip chmap set"); in cras_alsa_set_channel_map()
323 syslog(LOG_ERR, "Unable to find the best channel map"); in cras_alsa_set_channel_map()
339 syslog(LOG_ERR, "Unable to set channel map"); in cras_alsa_set_channel_map()
362 syslog(LOG_ERR, "Unable to find the best channel map"); in cras_alsa_get_channel_map()
398 syslog(LOG_ERR, "snd_pcm_hw_params_any: %s", snd_strerror(rc)); in cras_alsa_fill_properties()
426 syslog(LOG_WARNING, "No valid sample rates."); in cras_alsa_fill_properties()
439 syslog(LOG_WARNING, "No valid channel counts found."); in cras_alsa_fill_properties()
[all …]
Dcras_alsa_card.c99 syslog(LOG_DEBUG, in create_iodev_for_device()
127 syslog(LOG_ERR, "Couldn't create alsa_iodev for %u:%u\n", in create_iodev_for_device()
133 syslog(LOG_DEBUG, "New %s device %u:%d", in create_iodev_for_device()
197 syslog(LOG_ERR, "Invalid card from control event."); in alsa_control_event_pending()
256 syslog(LOG_ERR, "Fail adding controls to mixer for %s.", in add_controls_and_iodevs_by_matching()
339 syslog(LOG_ERR, in add_controls_and_iodevs_with_ucm()
351 syslog(LOG_ERR, "Failed adding controls to" in add_controls_and_iodevs_with_ucm()
370 syslog(LOG_ERR, "Unexpected direction: %d", in add_controls_and_iodevs_with_ucm()
377 syslog(LOG_ERR, in add_controls_and_iodevs_with_ucm()
443 syslog(LOG_ERR, in configure_echo_reference_dev()
[all …]
Dcras_bt_manager.c45 syslog(LOG_INFO, "Bluetooth Adapter: %s added", in cras_bt_interface_added()
48 syslog(LOG_WARNING, in cras_bt_interface_added()
67 syslog(LOG_INFO, "Bluetooth Device: %s added", in cras_bt_interface_added()
70 syslog(LOG_WARNING, in cras_bt_interface_added()
90 syslog(LOG_INFO, in cras_bt_interface_added()
94 syslog(LOG_WARNING, in cras_bt_interface_added()
113 syslog(LOG_INFO, "Bluetooth Adapter: %s removed", in cras_bt_interface_removed()
123 syslog(LOG_INFO, "Bluetooth Device: %s removed", in cras_bt_interface_removed()
134 syslog(LOG_INFO, "Bluetooth Transport: %s removed", in cras_bt_interface_removed()
206 syslog(LOG_WARNING, "GetManagedObjects returned error: %s", in cras_bt_on_get_managed_objects()
[all …]
Dcras_alsa_mixer.c105 syslog(LOG_ERR, "snd_mixer_open: %d: %s", rc, strerror(-rc)); in alsa_mixer_open()
110 syslog(LOG_ERR, "snd_mixer_attach: %d: %s", rc, strerror(-rc)); in alsa_mixer_open()
115 syslog(LOG_ERR, "snd_mixer_selem_register: %d: %s", rc, strerror(-rc)); in alsa_mixer_open()
120 syslog(LOG_ERR, "snd_mixer_load: %d: %s", rc, strerror(-rc)); in alsa_mixer_open()
142 syslog(LOG_ERR, "No memory for mixer_control_elem."); in mixer_control_element_create()
229 syslog(LOG_WARNING, in mixer_control_add_element()
257 syslog(LOG_ERR, "No memory for mixer_control: %s", name); in mixer_control_create()
269 syslog(LOG_ERR, "Control does not have a name."); in mixer_control_create()
276 syslog(LOG_ERR, "No memory for control's name: %s", name); in mixer_control_create()
344 syslog(LOG_ERR, "Unable to find simple control %s, 0", in mixer_control_create_by_name()
[all …]
Dcras_a2dp_endpoint.c78 syslog(LOG_WARNING, "No supported channel modes."); in cras_a2dp_select_configuration()
91 syslog(LOG_WARNING, "No supported sampling frequencies."); in cras_a2dp_select_configuration()
100 syslog(LOG_WARNING, "No supported allocation method."); in cras_a2dp_select_configuration()
109 syslog(LOG_WARNING, "No supported subbands."); in cras_a2dp_select_configuration()
122 syslog(LOG_WARNING, "No supported block length."); in cras_a2dp_select_configuration()
189 syslog(LOG_ERR, "Device and active transport not match."); in cras_a2dp_start()
194 syslog(LOG_WARNING, in cras_a2dp_start()
203 syslog(LOG_WARNING, "Failed to create a2dp iodev"); in cras_a2dp_start()
217 syslog(LOG_INFO, "Destroying iodev for A2DP device"); in cras_a2dp_suspend_connected_device()
Dcras_bt_device.c172 syslog(LOG_ERR, "Connect profile message replied error: %s", in on_connect_profile_reply()
186 syslog(LOG_ERR, "Disconnect message replied error"); in on_disconnect_reply()
221 syslog(LOG_ERR, "Failed to send Disconnect message"); in cras_bt_device_connect_profile()
259 syslog(LOG_ERR, "Failed to send Disconnect message"); in cras_bt_device_disconnect()
294 syslog(LOG_INFO, "Bluetooth Device: %s removed", in cras_bt_device_reset()
428 syslog(LOG_ERR, "Fail to fallback to profile %u", in cras_bt_device_rm_iodev()
481 syslog(LOG_DEBUG, in cras_bt_device_audio_gateway_initialized()
486 syslog(LOG_ERR, "Start audio gateway failed"); in cras_bt_device_audio_gateway_initialized()
495 syslog(LOG_DEBUG, "HFP audio gateway is connected but A2DP " in cras_bt_device_audio_gateway_initialized()
518 syslog(LOG_DEBUG, "Bluetooth Device: %s is HFP handsfree", in cras_bt_device_log_profile()
[all …]
Dcras_bt_endpoint.c66 syslog(LOG_DEBUG, "SetConfiguration: %s", in cras_bt_endpoint_set_configuration()
75 syslog(LOG_WARNING, "Bad SetConfiguration message received."); in cras_bt_endpoint_set_configuration()
98 syslog(LOG_INFO, "Bluetooth Transport: %s added", in cras_bt_endpoint_set_configuration()
104 syslog(LOG_ERR, "Do device found for transport %s", in cras_bt_endpoint_set_configuration()
136 syslog(LOG_DEBUG, "SelectConfiguration: %s", in cras_bt_endpoint_select_configuration()
150 syslog(LOG_WARNING, "Bad SelectConfiguration method call: %s", in cras_bt_endpoint_select_configuration()
197 syslog(LOG_DEBUG, "ClearConfiguration: %s", in cras_bt_endpoint_clear_configuration()
210 syslog(LOG_WARNING, "Bad ClearConfiguration method call: %s", in cras_bt_endpoint_clear_configuration()
239 syslog(LOG_DEBUG, "Release: %s", in cras_bt_endpoint_release()
263 syslog(LOG_DEBUG, "Endpoint message: %s %s %s", in cras_bt_handle_endpoint_message()
[all …]
Dcras_dsp_mod_ladspa.c49 syslog(LOG_ERR, "instantiate failed for %s, rate %ld", in instantiate()
133 syslog(LOG_ERR, "port count mismatch: %s", plugin->title); in verify_plugin_descriptor()
141 syslog(LOG_ERR, "port direction mismatch: %s:%d!", in verify_plugin_descriptor()
148 syslog(LOG_ERR, "port type mismatch: %s:%d!", in verify_plugin_descriptor()
170 syslog(LOG_ERR, "cannot open plugin from %s: %s", path, in cras_dsp_module_load_ladspa()
179 syslog(LOG_ERR, "cannot find descriptor function from %s: %s", in cras_dsp_module_load_ladspa()
187 syslog(LOG_ERR, "cannot find label %s from %s", in cras_dsp_module_load_ladspa()
192 syslog(LOG_DEBUG, "plugin '%s' loaded from %s", in cras_dsp_module_load_ladspa()
Dcras_udev.c155 syslog(LOG_INFO, "%s: init card '%u' to factory default", in set_factory_default()
163 syslog(LOG_ERR, in set_factory_default()
199 syslog(LOG_ERR, "failed to build path"); in calculate_desc_checksum()
204 syslog(LOG_ERR, "failed to stat file %s: %s", in calculate_desc_checksum()
211 syslog(LOG_ERR, "failed to open file %s: %s", in calculate_desc_checksum()
225 syslog(LOG_ERR, in calculate_desc_checksum()
235 syslog(LOG_ERR, "failed to read file %s", path); in calculate_desc_checksum()
278 syslog(LOG_ERR, "USB card: vendor:%04x, product:%04x, serial num:%s, " in fill_usb_card_info()
389 syslog(LOG_WARNING, in udev_sound_subsystem_callback()
/external/selinux/mcstrans/src/
Dmcstransd.c106 syslog(LOG_ERR, "Failed to write response header"); in send_response()
115 syslog(LOG_ERR, "Failed to write response data"); in send_response()
132 syslog(LOG_ERR, "Failed to get PID of client process"); in get_peer_pid()
173 syslog(LOG_ERR, "Invalid request func=%d from=%u", in process_request()
270 syslog(LOG_ERR, "realloc failed for %d fds", *nfds+1); in add_pollfd()
316 syslog(LOG_ERR, "accept() failed: %m"); in process_events()
321 syslog(LOG_ERR, in process_events()
330 syslog(LOG_ERR, in process_events()
355 syslog(LOG_ERR, "Unknown/error events (%x) encountered" in process_events()
383 syslog(LOG_ERR, "Failed to allocate a pollfd"); in process_connections()
[all …]
/external/autotest/client/tools/
Dcrash_handler.py8 import sys, os, commands, glob, shutil, syslog, re, time, random, string
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.syslog("Application %s, PID %s crashed" % (exe, crashed_pid))
220 syslog.syslog("Crash handler had a problem: %s" % e)
/external/iputils/
Drarpd.c97 syslog(LOG_ERR, "socket: %m"); in load_if()
105 syslog(LOG_ERR, "SIOCGIFCONF: %m"); in load_if()
131 syslog(LOG_ERR, "ioctl(SIOCGIFNAME): %m"); in load_if()
144 syslog(LOG_ERR, "ioctl(SIOCGIFHWADDR): %m"); in load_if()
162 syslog(LOG_INFO, "link %s", ifl->name); in load_if()
165 syslog(LOG_ERR, "ioctl(SIOCGIFMASK): %m"); in load_if()
170 syslog(LOG_ERR, "ioctl(SIOCGIFDSTADDR): %m"); in load_if()
200 syslog(LOG_INFO, " addr %s/%d on %s\n", in load_if()
205 syslog(LOG_INFO, " addr %s %s/%d on %s\n", tmpa, in load_if()
228 syslog(LOG_ERR, "opendir: %m"); in bootable()
[all …]
Dtftpd.c124 syslog(LOG_ERR, "ioctl(FIONBIO): %m\n"); in main()
132 syslog(LOG_ERR, "recvfrom: %m\n"); in main()
180 syslog(LOG_ERR, "fork: %m\n"); in main()
191 syslog(LOG_ERR, "socket: %m\n"); in main()
195 syslog(LOG_ERR, "connect: %m\n"); in main()
291 syslog(LOG_ERR, "bad path %s", filename); in validate_access()
300 syslog(LOG_ERR, "no dirs"); in validate_access()
307 syslog(LOG_ERR, "stat %s : %m", filename); in validate_access()
312 syslog(LOG_ERR, "not readable %s", filename); in validate_access()
317 syslog(LOG_ERR, "not writable %s", filename); in validate_access()
[all …]
/external/mdnsresponder/mDNSShared/
Ddnssd_clientstub.c62 static void syslog( int priority, const char * message, ...) in syslog() function
176syslog(LOG_WARNING, "dnssd_clientstub write_all: SO_ISDEFUNCT failed %d %s", dnssd_errno, dnssd_st… in write_all()
178 syslog(LOG_WARNING, "dnssd_clientstub write_all(%d) failed %ld/%ld %d %s", sd, in write_all()
183 syslog(LOG_INFO, "dnssd_clientstub write_all(%d) DEFUNCT", sd); in write_all()
185 syslog(LOG_WARNING, "dnssd_clientstub write_all(%d) failed %ld/%ld %d %s", sd, in write_all()
211 …if ((num_read < 0) && (errno == EINTR)) { syslog(LOG_INFO, "dnssd_clientstub read_all: EINTR conti… in read_all()
228syslog(LOG_WARNING, "dnssd_clientstub read_all: SO_ISDEFUNCT failed %d %s", dnssd_errno, dnssd_str… in read_all()
234 syslog(LOG_WARNING, "dnssd_clientstub read_all(%d) failed %ld/%ld %d %s", sd, in read_all()
239 syslog(LOG_INFO, "dnssd_clientstub read_all(%d) DEFUNCT", sd); in read_all()
270 if (fs == NULL) { syslog(LOG_WARNING, "dnssd_clientstub more_bytes: malloc failed"); return 0; } in more_bytes()
[all …]
/external/adhd/cras/src/common/
Dcras_shm.c27 syslog(LOG_WARNING, in cras_shm_restorecon()
35 syslog(LOG_WARNING, "Couldn't run realpath() for %s: %s", in cras_shm_restorecon()
41 syslog(LOG_WARNING, "Restorecon on %s failed: %s", in cras_shm_restorecon()
61 syslog(LOG_ERR, "failed to ashmem_create_region %s: %s\n", in cras_shm_open_rw()
73 syslog(LOG_ERR, in cras_shm_reopen_ro()
95 syslog(LOG_ERR, "failed to shm_open %s: %s\n", in cras_shm_open_rw()
102 syslog(LOG_ERR, "failed to set size of shm %s: %s\n", in cras_shm_open_rw()
118 syslog(LOG_ERR, in cras_shm_reopen_ro()
/external/mdnsresponder/mDNSPosix/
Dnss_mdns.c669 syslog (LOG_DEBUG, in _nss_mdns_gethostbyname_r()
693 syslog (LOG_DEBUG, in _nss_mdns_gethostbyname2_r()
729 syslog (LOG_WARNING, in _nss_mdns_gethostbyaddr_r()
744 syslog (LOG_DEBUG, in _nss_mdns_gethostbyaddr_r()
811 syslog (LOG_DEBUG, in mdns_gethostbyname2()
858 syslog (LOG_DEBUG, in mdns_lookup_name()
878 syslog (LOG_WARNING, in mdns_lookup_name()
900 syslog (LOG_WARNING, in mdns_lookup_name()
945 syslog (LOG_DEBUG, in mdns_lookup_addr()
975 syslog (LOG_WARNING, in mdns_lookup_addr()
[all …]
/external/autotest/client/site_tests/platform_LogDupSuppression/
Dplatform_LogDupSuppression.py5 import syslog
25 syslog.openlog('spam')
35 syslog.syslog(self.SPAM_MSG)
36 syslog.syslog(self.NON_SPAM_MSG)
/external/vboot_reference/utility/
Dtpm_init_temp_fix.c43 syslog(pri, "TPM selftest failed with code 0x%x\n", result); in main()
51 syslog(pri, "TPM assertpp failed with code 0x%x\n", result); in main()
57 syslog(pri, "TPM getflags failed with code 0x%x\n", result); in main()
64 syslog(pri, "TPM physical enable failed with code 0x%x\n", result); in main()
72 syslog(pri, "TPM physical activate failed with code 0x%x\n", result); in main()

12345678910>>...16