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

  man pages->IRIX man pages -> salog (4)              
Title
Content
Arch
Section
 

Contents


SALOG(4)							      SALOG(4)


NAME    [Toc]    [Back]

     salog, salog.conf - system	administration log

DESCRIPTION    [Toc]    [Back]

     /var/sysadm/salog is the system administration log	file.  Whenever	a
     privileged	command	is run by runpriv(1M), runpriv logs the	command	that
     was run to	salog.

     The privilege commands themselves also log	errors,	warnings, and
     informational messages to the log.

     Each line of salog	is a semi-colon	separated list of fields.  The first
     field is the date and time	that the message was logged.  The second field
     is	a number identifying the type of message: 0 for	an error, 1 for	a
     warning, 2	for a command run by runpriv, or 3 for an informational
     message.

     The third field is	the process id of the process that logged the message.
     The fourth	field is the user id, and the fifth field is the host name.
     The sixth field is	a string identifying the source	 of the	message; this
     is	typically the name of the privileged command being run.

     The seventh field is either the message or	the command that was run.

     The viewlog(1M) program can be used to view the contents of the log.

     /var/sysadm/salog.conf is a configuration file that controls how big
     salog can grow before it gets rotated to /var/sysadm/oldsalog and whether
     messages to salog also get	forwarded to syslogd(1M).  This	configuration
     file is read by /usr/lib/libsalog.so, which is the	library	containing the
     routines that runpriv and the privileged commands use to write to salog.

     /var/sysadm/salog.conf is an ASCII	file.  If it contains a	line with the
     single word syslog	in it, messages	to salog will also be sent to syslogd.
     By	default	messages are not sent to syslogd.  If salog.conf contains a
     line with the string rotsize=size,	then the log will be renamed to
     /var/sysadm/oldsalog and the previous contents of /var/sysadm/oldsalog
     will be lost when the size	of salog reaches size bytes.  If size is
     smaller than 5120,	the value 5120 will be used instead.  The default
     rotsize is	1048576.

FILES    [Toc]    [Back]

     /var/sysadm/salog	      System administration log.
     /var/sysadm/oldsalog     Old system administration	log.
     /var/sysadm/salog.conf   System administration log	configuration file.

SEE ALSO    [Toc]    [Back]

      
      
     sysmgr(1M), viewlog(1M), setlogopt(1M), runpriv(1M), syslogd(1M).
SALOG(4)							      SALOG(4)


NAME    [Toc]    [Back]

     salog, salog.conf - system	administration log

DESCRIPTION    [Toc]    [Back]

     /var/sysadm/salog is the system administration log	file.  Whenever	a
     privileged	command	is run by runpriv(1M), runpriv logs the	command	that
     was run to	salog.

     The privilege commands themselves also log	errors,	warnings, and
     informational messages to the log.

     Each line of salog	is a semi-colon	separated list of fields.  The first
     field is the date and time	that the message was logged.  The second field
     is	a number identifying the type of message: 0 for	an error, 1 for	a
     warning, 2	for a command run by runpriv, or 3 for an informational
     message.

     The third field is	the process id of the process that logged the message.
     The fourth	field is the user id, and the fifth field is the host name.
     The sixth field is	a string identifying the source	 of the	message; this
     is	typically the name of the privileged command being run.

     The seventh field is either the message or	the command that was run.

     The viewlog(1M) program can be used to view the contents of the log.

     /var/sysadm/salog.conf is a configuration file that controls how big
     salog can grow before it gets rotated to /var/sysadm/oldsalog and whether
     messages to salog also get	forwarded to syslogd(1M).  This	configuration
     file is read by /usr/lib/libsalog.so, which is the	library	containing the
     routines that runpriv and the privileged commands use to write to salog.

     /var/sysadm/salog.conf is an ASCII	file.  If it contains a	line with the
     single word syslog	in it, messages	to salog will also be sent to syslogd.
     By	default	messages are not sent to syslogd.  If salog.conf contains a
     line with the string rotsize=size,	then the log will be renamed to
     /var/sysadm/oldsalog and the previous contents of /var/sysadm/oldsalog
     will be lost when the size	of salog reaches size bytes.  If size is
     smaller than 5120,	the value 5120 will be used instead.  The default
     rotsize is	1048576.

FILES    [Toc]    [Back]

     /var/sysadm/salog	      System administration log.
     /var/sysadm/oldsalog     Old system administration	log.
     /var/sysadm/salog.conf   System administration log	configuration file.

SEE ALSO    [Toc]    [Back]

      
      
     sysmgr(1M), viewlog(1M), setlogopt(1M), runpriv(1M), syslogd(1M).


									PPPPaaaaggggeeee 1111
[ Back ]
 Similar pages
Name OS Title
rmdefpriv IRIX remove a default system administration privilege from the system
sysmgr IRIX System Manager - Access to Desktop System Administration
adddefpriv IRIX add a default system administration privilege to the system
sam HP-UX system administration manager
viewlog IRIX view the system administration log
runcatalog IRIX run a system administration manager
setlogopt IRIX set system administration logging options
runtask IRIX run a system administration active guide
fsadm_hfs HP-UX HFS file system administration command
runpanel IRIX run a system administration status panel
Copyright © 2004-2005 DeniX Solutions SRL
newsletter delivery service