Lines Matching refs:facility
88 use vars qw($facility);
97 $facility = ''; # current facility
163 ($ident, my $logopt, $facility) = @_;
168 $facility ||= LOG_USER();
180 $facility = $ident = '';
318 local $facility = $facility; # may need to change temporarily.
323 croak "syslog: invalid level/facility: $priority" if $priority =~ /^-\d+$/;
324 @words = split(/\W+/, $priority, 2); # Allow "level" or "level|facility".
334 croak "syslog: invalid level/facility: $word"
343 $facility = $word;
351 $facility = 'user' unless $facility;
352 $numfac = xlate($facility);
744 openlog_xs($ident, $logopt, xlate($facility));
840 openlog $ident, $logopt, $facility; # don't forget this
889 =item B<openlog($ident, $logopt, $facility)>
893 more of the options detailed below. C<$facility> specifies the part
945 Open the syslog with options C<ndelay> and C<pid>, and with facility C<LOCAL0>:
962 C<$priority> can specify a level, or a level and a facility. Levels and
977 syslog("info|local0", $message); # information level, Local0 facility
978 syslog(LOG_INFO|LOG_LOCAL0, $message); # information level, Local0 facility
1142 One facility, one priority.
1213 C<LOG_DAEMON> - system daemons without separate facility value
1234 C<LOG_LFMT> - logalert facility; falls back to C<LOG_USER>
1366 =item C<syslog: invalid level/facility: %s>
1368 B<(F)> You specified an invalid level or facility.