logger man page on HP-UX

Man page or keyword search:  
man Server   10987 pages
apropos Keyword Search (all sections)
Output format
HP-UX logo
[printable version]

logger(1)							     logger(1)

NAME
       logger - make entries in the system log

SYNOPSIS
       tag] pri] file] [message...]

DESCRIPTION
       The  command provides a program interface to the system log module (see
       syslog(3C)).

       A message can be given on the command line,  which  is  logged  immedi‐
       ately,  or  a file is read and each line is logged.  If no file or mes‐
       sage is specified, the contents of the standard input are logged.

   Options
       The command recognizes the following  command-line  options  and	 argu‐
       ments:

	      Mark every line in the log with the specified
			     tag.   The	 default is the value returned by (see
			     getlogin(3C)).  If returns NULL, is the default.

	      Enter the message with the specified priority.
			     The priority can be specified numerically or as a
			     pair.   For example, logs the message or messages
			     as level in the facility.	The default is

	      Log the process ID
			     of the logger process with each line.

	      Log the contents of the specified file.

	      message	     The message to log; if not	 specified,  the  file
			     specified	by  the	 option	 or  standard input is
			     logged.

EXTERNAL INFLUENCES
   Environment Variables
       determines the language in which messages are displayed.

       If is not specified in the environment or is set to the	empty  string,
       the  value  of is used as a default for each unspecified or empty vari‐
       able.  If is not specified or is set to the empty string, a default  of
       "C" (see lang(5)) is used instead of

       If  any	internationalization  variable	contains  an  invalid setting,
       behaves as if all internationalization variables are set to  "C".   See
       environ(5).

   International Code Set Support
       Single- and multi-byte character code sets are supported.

EXAMPLES
       Send the message to the daemon:

       Send  output  from  the	command (see users(1) to the daemon, marked as
       level and facility The message is tagged with the string

       Send the message to the daemon, at the level and facility:

WARNINGS
       The command has no effect if the daemon (see syslogd(1M)) is  not  run‐
       ning on the system.

       Messages	 written in locales other than the POSIX/C locale are not sup‐
       ported.

AUTHOR
       was developed by the University of California, Berkeley.

SEE ALSO
       syslogd(1M), getlogin(3C), syslog(3C).

STANDARDS CONFORMANCE
								     logger(1)
[top]

List of man pages available for HP-UX

Copyright (c) for man pages and the logo by the respective OS vendor.

For those who want to learn more, the polarhome community provides shell access and support.

[legal] [privacy] [GNU] [policy] [cookies] [netiquette] [sponsors] [FAQ]
Tweet
Polarhome, production since 1999.
Member of Polarhome portal.
Based on Fawad Halim's script.
....................................................................
Vote for polarhome
Free Shell Accounts :: the biggest list on the net