diff options
author | Corinna Vinschen <corinna@vinschen.de> | 2005-04-07 20:16:46 +0000 |
---|---|---|
committer | Corinna Vinschen <corinna@vinschen.de> | 2005-04-07 20:16:46 +0000 |
commit | 9d61c9a250667045d94b373863ab24c313bc249f (patch) | |
tree | c2220e6a4ca381274e2461244b1c93a95a7a6c7a /winsup/cygserver/bsd_mutex.cc | |
parent | a5bfc6871275ec3962208e23756f051f2d38350d (diff) | |
download | cygnal-9d61c9a250667045d94b373863ab24c313bc249f.tar.gz cygnal-9d61c9a250667045d94b373863ab24c313bc249f.tar.bz2 cygnal-9d61c9a250667045d94b373863ab24c313bc249f.zip |
* syslog.cc: Include sys/socket.h.
(try_connect_guard): New static variable.
(syslogd_inited): Ditto.
(syslogd_sock): Ditto.
(try_connect_syslogd): New function to connect and write syslog to
local syslogd.
(vsyslog): Log to stderr if LOG_PERROR flag has been given to openlog.
Try logging to syslogd. Use Event Log resp. log file as fallback.
(closelog): Close socket to syslogd.
* include/sys/syslog.h (_PATH_LOG): Define.
(INTERNAL_NOPRI): Define if SYSLOG_NAMES is defined.
(INTERNAL_MARK): Ditto.
(struct _code): Ditto.
(prioritynames): Ditto.
(facilitynames): Ditto.
Diffstat (limited to 'winsup/cygserver/bsd_mutex.cc')
0 files changed, 0 insertions, 0 deletions