morpheus-base

morpheus base system
git clone git://git.2f30.org/morpheus-base
Log | Files | Refs

logger.1 (1008B)


      1 .Dd December 4, 2014
      2 .Dt LOGGER 1 sbase\-VERSION
      3 .Os
      4 .Sh NAME
      5 .Nm logger
      6 .Nd make entries in the system log
      7 .Sh SYNOPSIS
      8 .Nm logger
      9 .Op Fl is
     10 .Op Fl p Ar priority
     11 .Op Fl t Ar tag
     12 .Op Ar message ...
     13 .Sh DESCRIPTION
     14 .Nm
     15 provides a shell command interface to the
     16 .Xr syslog 3
     17 system log module.
     18 .Pp
     19 .Sh OPTIONS
     20 .Bl -tag -width xxxxxxxxxxxx
     21 .It Fl i
     22 Log the process ID of the logger process with each line.
     23 .It Fl p Ar priority
     24 Enter the message with the specified priority.  They priority
     25 has to be specified symbolically as
     26 .Dq facility.level
     27 pair.  The default is
     28 .Dq user.notice .
     29 .It Fl s
     30 Log the message to standard error, as well as the system log.
     31 .It Fl t Ar tag
     32 Mark every line in the log with the specified
     33 .Ar tag .
     34 .It Ar message
     35 Write the message to the log; if not specified, standard input
     36 is logged.
     37 .El
     38 .Sh SEE ALSO
     39 .Xr syslog 3 ,
     40 .Xr syslogd 1
     41 .Sh STANDARDS
     42 The
     43 .Nm
     44 utility is compliant with the
     45 .St -p1003.1-2008
     46 specification.
     47 .Pp
     48 The flags
     49 .Op Fl ipst
     50 are extensions to that specification.