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

/osnet-11/usr/src/cmd/perl/5.8.4/distrib/lib/
H A Dsyslog.pl2 # syslog.pl
4 # $Log: syslog.pl,v $
10 # call syslog() with a string priority and a list of printf() args
11 # like syslog(3)
13 # usage: require 'syslog.pl';
19 # do syslog('info','this is another test');
20 # do syslog('mail|warning','this is a better test: %d', time);
23 # do syslog('debug','this is the last test');
25 # do syslog('notice','fooprogram: this is really done');
28 # do syslog('inf
30 package syslog; package
[all...]
/osnet-11/usr/src/lib/libslp/javalib/com/sun/slp/
H A DSyslog.java35 * A logging class which writes to UNIX syslog. This class can be dynamically
38 * native syslog. This is because syslog can be listening on any port
39 * mapped to 'syslog' in the services table, but Java provides no way to
79 syslog(priority, buf.toString());
86 private native void syslog(int priority, String message); method in class:Syslog
/osnet-11/usr/src/cmd/perl/5.8.4/distrib/ext/Sys/Syslog/
H A DSyslog.pm18 standard => [qw(openlog syslog closelog setlogmask)],
78 use vars qw($host); # host to send syslog messages to (see notes at end)
91 my $syslog_path = undef; # syslog path for "stream" and "unix" mechanisms
166 $ident ||= basename($0) || getlogin() || getpwuid($<) || 'syslog';
275 if (getservbyname('syslog', 'tcp') || getservbyname('syslogng', 'tcp')) {
284 if (getservbyname('syslog', 'udp')) {
305 sub syslog { subroutine
320 croak "syslog: expecting argument \$priority" unless defined $priority;
321 croak "syslog: expecting argument \$format" unless defined $mask;
323 croak "syslog
[all...]
/osnet-11/usr/src/lib/libc/port/gen/
H A Dsyslog.c54 #pragma weak _syslog = syslog
65 #include <syslog.h>
119 "syslog", /* string to tag the entry with */
142 * syslog() is called from the bottom of a deep call stack
145 * Because syslog() uses stdio (and it is called from within stdio)
151 * this thing and always to call syslog() with no locks held.
154 * Meanwhile, we just hope that on the rare occasion that syslog()
159 syslog(int pri, const char *fmt, ...) function
213 * of syslog. If we succeed in getting the name, also
399 * If so, syslogd has called syslog(), probabl
[all...]
/osnet-11/usr/src/lib/pybootmgmt/common/bootmgmt/backend/loader/
H A Dgrub2.py43 import syslog namespace
2270 # fatal error; it will, however, be logged to syslog.
2297 syslog.openlog('pybootmgmt-GRUB2', 0, syslog.LOG_DAEMON)
2298 syslog.syslog(syslog.LOG_WARNING, 'Failed to set the UEFI boot '
2301 syslog.closelog()
2479 syslog.openlog('pybootmgmt-GRUB2', 0, syslog
[all...]
/osnet-11/usr/src/cmd/sendmail/src/
H A Dconf.c653 /* syslog map -- logs information to syslog */
654 MAPDEF("syslog", NULL, 0,
676 /* dprintf map -- logs information to syslog */
5305 ** SM_SYSLOG -- syslog wrapper to keep messages under SYSLOG_BUFSIZE
5308 ** level -- syslog level
5380 syslog(level, "%s", newstring);
5387 syslog(level, "%s: %s", id, newstring);
5443 syslog(level, "%s[%d]: %s ...", id, seq++, begin);
5458 syslog(leve
5491 # undef syslog macro
[all...]
/osnet-11/usr/src/cmd/sendmail/include/sm/
H A Dconf.h123 # define syslog hard_syslog macro
407 # define SYSLOG_BUFSIZE 1024 /* allow full size syslog buffer */
1856 # define SM_CONF_SYSLOG 0 /* use sendmail decl of syslog() */
1984 # undef LOG /* syslog not available */
2265 # define SYSLOG_BUFSIZE 1024 /* allow full size syslog buffer */
2911 /* size of syslog buffer */
3005 ** If we don't have a system syslog, simulate it.
3020 # define SM_CONF_SYSLOG 1 /* syslog.h has prototype for syslog() */
3025 extern void syslog(in
[all...]

Completed in 51 milliseconds