*nix Documentation Project
·  Home
 +   man pages
·  Linux HOWTOs
·  FreeBSD Tips
·  *niX Forums

  man pages->IRIX man pages -> perl5/Sys::Syslog (3)              
Title
Content
Arch
Section
 

Contents


Sys::Syslog(3)							Sys::Syslog(3)


NAME    [Toc]    [Back]

     Sys::Syslog, openlog, closelog, setlogmask, syslog	- Perl interface to
     the UNIX syslog(3)	calls

SYNOPSIS    [Toc]    [Back]

	 use Sys::Syslog;

	 openlog $ident, $logopt, $facility;
	 syslog	$priority, $format, @args;
	 $oldmask = setlogmask $mask_priority;
	 closelog;

DESCRIPTION    [Toc]    [Back]

     Sys::Syslog is an interface to the	UNIX syslog(3) program.	 Call syslog()
     with a string priority and	a list of printf() args	just like syslog(3).

     Syslog provides the functions:

     openlog $ident, $logopt, $facility
	  $ident is prepended to every message.	 $logopt contains one or more
	  of the words pid, ndelay, cons, nowait.  $facility specifies the
	  part of the system

     syslog $priority, $format,	@args
	  If $priority permits,	logs ($format, @args) printed as by
	  printf(3V), with the addition	that %m	is replaced with "$!" (the
	  latest error message).

     setlogmask	$mask_priority
	  Sets log mask	$mask_priority and returns the old mask.


									PPPPaaaaggggeeee 1111
[ Back ]
 Similar pages
Name OS Title
VkPipe IRIX Object-oriented interface to Unix pipes
perljp OpenBSD AEuEU,i Perl Y~YxYE `A^a`I`A Perl xIAx3|xOxex|x3x1/2! Perl 5.8.0 xexeicUni- _ codeYuYYi1/4YEx~AcEyxE...
uucp_intro Tru64 UNIX-to-UNIX Copy Program (UUCP) introductory information
uuto IRIX public UNIX-to-UNIX system file copy
uucpd OpenBSD unix to unix copy protocol daemon
uux IRIX UNIX-to-UNIX system command execution
openpam_log FreeBSD log a message through syslog
Term::Cap IRIX Perl termcap interface
syslog_evm.conf Tru64 EVM syslog subscription configuration file
uucp IRIX UNIX-to-UNIX system copy
Copyright © 2004-2005 DeniX Solutions SRL
newsletter delivery service